Showing 10 of 2,044 results.

compile | Compiling Workspaces

Compiles all discovered Blade templates within the workspace. Argument Description $outputDirectory Where to store compiled files. 1 <?php 2 3 public function compile ( 4 string $ outputDirectory 5 ) : void ;

getPhpTags | Workspaces

Returns all PHP tags within the workspace. PHP tags are created after parsing raw PHP regions within a template. PHP tags will be created whenever the following types of PHP tags are encountered: PHP Short Echo:, <?= ?>, PHP Open:, <?php ?>, If...

Disabling Favicon Features | Favicon Configuration

The favicon generation features can be disabled by updating the enabled value within your site's site_essentials/favicons.php configuration file. When disabled, favicons will not be automatically added to your site's web manifest file (if using...

Configuring Laravel Pint | Formatter Configuration and Usage

…able) with some internal settings that must be present for safe output. The Blade formatter does not check what exactly it is you have added to the pintCommand configuration option. If you add some really dumb shell commands, it will attempt to...

What Are They? | Lambdas And Closures

As stated earlier lambda's are anonymous functions. That is, a function without a name. PHP allows you to create these lambda functions and assign them to a variable, or even pass them as arguments to a function (this is what we are doing with...

Laravel Macros: An Easy Way to Extend Laravel Components

Macros are a way to reduce the lines of code a developer has to write, and can be traditionally thought of as "shortcuts". Laravel generally uses macros to add, or inject, functions into various classes at runtime. Developers familiar with C# can...