Showing 10 of 1,214 results.

validator | Validating Documents

Returns access to an internal BladeValidator instance. If a validator instance does not already exist, one will be automatically created by calling the ValidatorFactory::makeBladeValidator() method. 1 <?php 2 3 use Stillat \ BladeParser \...

withValidators | Validating Documents

Adds a list of validator instances to the internal BladeValidator instance. Argument Description $validators The validator instances. 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 5 public function withValidators ( 6 array $...

fromText | Blade Documents

…from this method is created by invoking DocumentFactory::makeDocument() . Argument Description $document The template content. $filePath An optional file path. $customComponentTags A list of custom component tag names. 1 <?php 2 3 use Stillat \...

toDocument | Blade Documents

…ment instance from the current document. This method will take into account any changes made to the nodes that represent the current document. The new document created will use the adjusted document text as its source. 1 <?php 2 3 use Stillat \...

resolveStructures | Document Structures

…s directive pairs. Structural analysis can only be performed once on a Document instance. If changes have been made to the node structure, you are encouraged to call the toDocument() method to construct a new document. 1 <?php 2 3 use Stillat \...

getAllStructures | Document Structures

…l the document structures. This method automatically performs structural analysis on the document. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllStructures ( ) : Collection ; Example Use 1 <?php 2 3 use Stillat \...

getAllSwitchStatements | Document Structures

…ll the document's switch statements. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllSwitchStatements ( ) : Collection ; Example Use 1 <?php 2 3 use Stillat \...

getAllConditions | Document Structures

Returns all the document's conditions. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllConditions ( ) : Collection ; Example Use 1 <?php 2 3 use Stillat \...

getAllForElse | Document Structures

Returns all the document's for-else blocks. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllForElse ( ) : Collection ; Example Use 1 <?php 2 3 use Stillat \...

resolveFragments | HTML Fragments

Resolves the Document's HTML fragments. 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 5 public function resolveFragments ( ) : Document ;

Filter Search