Showing 10 of 1,214 results.

hasAnyOfType | Querying Document Nodes

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 ;

getValidationErrors | Validating Documents

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...

releaseNodesFromDocument | Blade Documents

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...

toString | Blade Documents

Returns a string representation of the document. This method will traverse every node in the document and call its corresponding toString() method. Any modifications made to the document's node will be represented in the results of this method...

Filter Search