Search

Showing 7 of 2,041 result(s)

/blade-parser/v1/parser-errors#content-geterrorcode

Returns a Blade error code representing the current error instance. 1 <?php 2   3 public function getErrorCode () : string ;

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

…t. If a comment is not completed, the start of the comment will become part of a LiteralNode instance. The following sample document would produce a CommentNode and a LiteralNode : 1 {{-- The comment --}} 2 {{-- This will become part of the...

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

Retrieves a list of directive names supported by the parser instance. 1 <?php 2   3 public function getDirectiveNames () : array ;

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

Retrieves the parsed nodes. 1 <?php 2   3 public function getNodes () : array ;

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

Tests if any errors are present. 1 <?php 2   3 public function hasErrors () : bool ;

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

Tests if any fatal errors are present. 1 <?php 2   3 public function hasFatalErrors () : bool ;

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

Returns a value indicating if the document has any Blade comments. 1 <?php 2   3 public function hasAnyComments () : bool ;