Showing 10 of 1,280 results.

Laravel 5: Resolving Authentication Policies With policy

The policy helper function can be used to retrieve a policy (a policy class can be any valid PHP class) instance for a given $class . The $class can be either a string or an object instance. If no policies for the given $class have been registered...

Laravel Application Helper Function: validator

validator(array $data = [], array $rules = [], array $messages = [], array $customAttributes = []) The validator helper function is a versatile helper function. If no arguments are supplied to the validator function (all arguments are optional),...

Laravel Array Helper Function: array_build

The $build helper method will create a new array with the original array's key/value pairs after they have been run through the $callback function. The $callback function should return an array with the new key and value. The signature for the...

Filter Search