Showing 7 of 1,975 result(s)
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...
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...
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 ) :...
Retrieves all Blade comments in the workspace. 1 <?php 2 3 use Stillat\BladeParser\Nodes\NodeCollection ; 4 5 public function getComments () : NodeCollection ;
…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...
…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...
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 ;