hasAnyComponents | Querying Document Nodes
Returns a value indicating if the document has any component tags. 1 <?php 2 3 public function hasAnyComponents ( ) : bool ;
Showing 10 of 1,204 results.
Returns a value indicating if the document has any component tags. 1 <?php 2 3 public function hasAnyComponents ( ) : bool ;
Tests if the document contains any node of the provided type. Argument Description $type The desired type. 1 <?php 2 3 public function hasAnyOfType ( 4 string $ type 5 ) : bool ;
Returns a value indicating if the document has any Blade comments. 1 <?php 2 3 public function hasAnyComments ( ) : bool ;
Returns a collection containing the document's validation errors. Errors added to the document via. the addValidationResult or addValidationError methods will be included in the results. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5...
Tests if any errors are present. 1 <?php 2 3 public function hasErrors ( ) : bool ;
The document class provides a wide variety of methods that we can use to help make decisions about a Blade template.
Gets the document's file path. 1 <?php 2 3 public function getFilePath ( ) : string ;
Gets the directive names. 1 <?php 2 3 public function getDirectiveNames ( ) : array ;
Removes the document instance from all attached nodes. Calling this method will remove the document instance from all nodes that currently belong to this document. This can be useful if you simply want lightweight instances and do not necessarily...