Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/querying-document-nodes#content-getallparentnodesfornode

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 getAllParentNodesForNode ( 7...

/blade-parser/v1/the-validate-command#content-node-compilation

Class : NodeCompilationValidator The node compilation validator checks the compiled output of echo statements and PHP blocks for any PHP syntax errors. The following template: 1 {{ $hello ++++ }} 2   3   4 {{ $world +++ }} produces these...

/blade-parser/v1/workspaces#content-finddirectivesbyname

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 ) :...

/blade-parser/v1/workspaces#content-getcomments

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

/blade-parser/v1/workspaces#content-getphpblocks

…created 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...

/blade-parser/v1/workspaces#content-getverbatimblocks

…id VerbatimNode 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...

/blade-parser/v1/workspaces#content-getopeningcomponenttags

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 ;