Showing 10 of 129 results.

getErrors | Validating Documents

Returns the Blade errors. Returns a Collection instance containing the document's errors. This method will return errors from all sources, such as parser and validation errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public...

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

getFirstError | Validating Documents

Retrieves the first error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ BladeError ; 4 5 public function...

getFirstFatalError | Validating Documents

Retrieves the first fatal error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. Fatal errors are considered those that would produce invalid compiled PHP code,...

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

withCoreValidators | Validating Documents

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

withValidator | Validating Documents

Adds a validator instance to the internal BladeValidator instance. Argument Description $validator The validator instance. 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 use Stillat \ BladeParser \ Validation \...

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

Filter Search