Showing 10 of 1,204 results.

Laravel Artisan Tinker: The ls Command

…ined in the current scope or within a class or interface. The following example session demonstrates calling the ls command without any options (this will cause the ls command to only list the defined variables that are in the current scope): 1...

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

Filter Search