Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/parser-nodes#content-php-tag-nodes

…ts Stillat\BladeParser\Nodes\PhpTagNode instances when it parses traditional PHP tags within a Blade template. Each PhpTagNode node is categorized in one of two ways: PhpOpenTag, : Indicates the PHP tag started with the, <?php, tag.,...

/blade-parser/v1/parser-nodes#content-verbatim-nodes

The @verbatim and @endverbatim pair is represented by the Stillat\BladeParser\Nodes\VerbatimNode . This structure type is handled internally within the parser, and the library ignores any improper usage of the @verbatim or @endverbatim directives...

/blade-parser/v1/parsing#content-registercustomcomponenttag

Registers a single custom component tag name. Argument Description $tagName The component tag name. 1 <?php 2   3 use Stillat\BladeParser\Parser\DocumentParser ; 4   5 public function registerCustomComponentTag ( 6 string $tagName 7 ) :...

/blade-parser/v1/parsing#content-registercustomcomponenttags

Registers multiple custom component tag names. Argument Description $tagNames The tag names. 1 <?php 2   3 use Stillat\BladeParser\Parser\DocumentParser ; 4   5 public function registerCustomComponentTags ( 6 array $tagNames 7 ) : DocumentParser ;

/blade-parser/v1/parsing#content-registercustomdirective

Registers a single custom directive name. Argument Description $name The directive name. 1 <?php 2   3 public function registerCustomDirective ( 4 string $name 5 ) : void ;

/blade-parser/v1/parsing#content-getfirsterror

Retrieves the first error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. 1 <?php 2   3 use Stillat\BladeParser\Errors\BladeError ; 4   5 public function...

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

Tests if the document contains a directive with the provided name. Argument Description $name The directive name. 1 <?php 2   3 public function hasDirective ( 4 string $name 5 ) : bool ; Example Use 1 <?php 2   3 use...