Showing 7 of 1,975 result(s)
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 ;
Adds the validators to validator instance. Argument Description $validators The validators. 1 <?php 2 3 use Stillat\BladeParser\Validation\BladeValidator ; 4 5 public function addValidators ( 6 array $validators 7 ) : BladeValidator ;
Registers a document validator with the BladeValidator instance. Argument Description $validator The validator instance. 1 <?php 2 3 use Stillat\BladeParser\Validation\AbstractDocumentValidator ; 4 use...
Removes a validator instance with the provided validator class name. Argument Description $validatorClass The validator class name. 1 <?php 2 3 use Stillat\BladeParser\Validation\BladeValidator ; 4 5 public function removeValidator ( 6 string...
isAssoc(array $array) The isAssoc helper method can be used to determine if a given $array is an associative array or not. The provided documentation for the isAssoc method states that an array is associative if it does not have sequential numeric...
Camel casing is similar to studly case such that each word starts with a capitalized letter, with the difference being the first character is lower cased. Like the studly method, the camel method will not affect the casing of the rest of the word.
Retrieving values from a Fluent instance: The $default value is evaluated using the value helper function, meaning that it can be the result of a function: