Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/validation#content-hasvalidatorclass

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 ;

/blade-parser/v1/validation#content-addvalidators

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 ;

/blade-parser/v1/validation#content-adddocumentvalidator

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

/blade-parser/v1/validation#content-removevalidator

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

/blog/2016/11/20/laravel-array-helper-function-isassoc-checking-if-an-array-is-associative

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

/blog/2017/11/27/laravel-55-string-helper-function-camel_case

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.

/blog/2018/04/21/laravel-5-fluent-api-the-public-api#content-example-use

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: