Showing 10 of 129 results.

Custom Command Styles With Laravel Artisan

…voyer.io/ ' , ' Zero Downtime PHP Deployment ' ] , 32 33 $ separator , 34 35 // Create a row with only one table cell. 36 [ new TableCell ( ' Useful Resources ' , [ ' colspan ' => 2 ] ) ] , 37 $ separator , 38 39 [ ' https://laracasts.com/ ' , '...

hasErrorOnLine | Validating Documents

…the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ; 4 5 public function...

Validating Workspaces

Validating workspaces works the same as validating individual documents. The difference is that all the configured nodes and document validators will be executed against all documents within the workspace. 1 <?php 2 use Stillat \ BladeParser \...

Validating Documents

The document validation system provides a convenient wrapper around the Blade Parser's validation system. Using the validation system, we can quickly run any number of validators against our input document to catch potential compilation or runtime...

validate | Validating Workspaces

Validates all documents within the workspace using the internal BladeValidator instance. 1 <?php 2 3 use Stillat \ BladeParser \ Workspaces \ Workspace ; 4 5 public function validate ( ) : Workspace ;

getValidationErrors | Validating Workspaces

Returns all validation errors present in the workspace. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getValidationErrors ( ) : Collection ;

withCoreValidators | Validating Workspaces

Includes the core validators on the internal BladeValidator instance. If a BladeValidator instance does not already exist on the document, a new one will be created automatically via the ValidatorFactory::makeBladeValidator() factory method. Under...