Showing 10 of 2,044 results.

getSourceLine | Compiling Workspaces

Retrieves the original Blade template line number for the given compiled PHP line. Argument Description $docPath The compiled path. $phpLine The target PHP line. 1 <?php 2 3 public function getSourceLine ( string $ docPath , 4 int $ phpLine ) : int ;

Step 3: Configuring Laravel | Semantic UI Paginator for Laravel 4

Now we need to configure Laravel to use our Semantic UI paginator view. Don't worry - this is really easy. Open up the config/view.php file and look for the pagination key within the array and change its value to the location of your Semantic...

Install Asset Container | Artisan Commands

…invoked by running the following command from the root of your project: 1 php artisan social-media-image-kit:install-asset-container You will be prompted to select the storage disk when creating the asset container using this command. This...

Workspaces

Documents make it easier to work with the many types of nodes produced by the parser, and Workspaces make it easier to interact with many documents simultaneously. Using workspaces, we can compile multiple documents at once or look for specific...

findDirectivesByName | Workspaces

Returns all directives with the provided name in the workspace. Argument Description $name The directive name to search 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function findDirectivesByName ( 6 string $ name 7 )...

getComments | Workspaces

Retrieves all Blade comments in the workspace. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function getComments ( ) : NodeCollection ;

getPhpBlocks | Workspaces

…ated using Blade's @php / @endphp directives. Raw @php directives that contain arguments will not be converted to instances of PhpBlockNode , and will instead become instances of DirectiveNode . 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \...

getVerbatimBlocks | Workspaces

…erbatimNode instance will either become part of the document's literal content (in the case of the @verbatim directive), or will become a standalone DirectiveNode (in the case of @endverbatim ). 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \...

getOpeningComponentTags | Workspaces

Returns all self-closing or opening component tags within the workspace. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function getOpeningComponentTags ( ) : NodeCollection ;