getValidators | Validating Blade
Returns a collection of all registered validator instances. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getValidators ( ) : Collection ;
Showing 10 of 1,204 results.
Returns a collection of all registered validator instances. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getValidators ( ) : Collection ;
Returns a collection containing only the registered node validator instances. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getNodeValidators ( ) : Collection ;
Returns a collection containing only the registered document validator instances. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getDocumentValidators ( ) : Collection ;
Tests if the BladeValidator instance contains any validator instance with the provided class name. Argument Description $validatorClass The class name to check. 1 <?php 2 3 public function hasValidatorClass ( 4 string $ validatorClass 5 ) : bool ;
Runs all registered node validators against the provided node list. Argument Description $nodes The nodes to validate. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function validateNodes ( 6 array $ nodes 7 ) : Collection ;
Returns all validation errors present in the workspace. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getValidationErrors ( ) : Collection ;
Tests if any errors are present. 1 <?php 2 3 public function hasErrors ( ) : bool ;
Tests if any fatal errors are present. 1 <?php 2 3 public function hasFatalErrors ( ) : bool ;
Retrieves a collection of BladeError instances for the workspace. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getErrors ( ) : Collection ;