Showing 10 of 1,214 results.

getAllParentNodesForNode | Querying Document Nodes

Retrieves all parent nodes for the provided node. Argument Description $node The node. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ AbstractNode ; 4 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 5 6 public function...

Laravel 5: Retrieving Object Values With object_get

….The signature of the object_get function is: 1 function object_get ( 2 $ object , 3 $ key , 4 $ default = null 5 ) ;The following sample class structure will be used in the following examples: 1 $ sampleObject = new stdClass ; 2 $ sampleObject...

Compiling Custom Components

…mponent tags as if they were "normal" Blade component tags. However, we can provide custom compilers for our specific component tag prefixes and return custom-compiled output. We create custom component tag compilers by implementing the...

Read the Docs | Rebuilding Stillat.com

…any, many places online, especially in the open-source scene. But its true: read the docs and life will become much easier. After mocking up a design, the process of converting that into a basic Statamic site was fairly straight-forward. The...

getErrors | The Document Parser

Retrieves a collection of parser errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getErrors ( ) : Collection ;

hasComponents | The Document Parser

Returns a value indicating if any Laravel tag components were parsed. 1 <?php 2 3 public function hasComponents ( ) : bool ;