Showing 7 of 1,975 result(s)
…ot required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require...
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 ;
Gets the document nodes as a normal array. Returns a PHP array containing the nodes that represent the parsed template. The nodes returned by this call are the same as those from the getNodes method call. 1 <?php 2 3 public function getNodeArray...
The following error families may be reported: Error Family Code Parser P Validation V Compiler C Third-party extensions should not emit error codes in the parser family.
The parser will emit Stillat\BladeParser\Nodes\CommentNode instances when it successfully parses a Blade comment. If a comment is not completed, the start of the comment will become part of a LiteralNode instance. The following sample document...
…ument with the provided name. Argument Description $tagName The tag name to filter on. 1 <?php 2 3 use Stillat\BladeParser\Nodes\Components\ComponentNode ; 4 5 public function findComponentByTagName ( 6 string $tagName 7 ) : ComponentNode ;...
Retrieves all nodes starting on the target line. Only the node's starting position is considered. Argument Description $line The target line. 1 <?php 2 3 use Stillat\BladeParser\Nodes\NodeCollection ; 4 5 public function...