Property | Type | Description | |
---|---|---|---|
$validation | Illuminate\Contracts\Validation\Factory | The validator factory instance. |
Method | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Validation\Factory $validation ) | Create a validator instance. | |
validate ( |
Validate the given request. |
Method | Description | |
---|---|---|
ensureAllInRules ( array $data ) | Make sure all of the keys of the given array exist in our ruleset. | |
ensureValid ( array $attributes ) | Make sure the given attributes comply to our rules. | |
rules ( ) : array | Get the rules to validate against. |
public __construct ( Illuminate\Contracts\Validation\Factory $validation ) | ||
$validation | Illuminate\Contracts\Validation\Factory |
protected ensureAllInRules ( array $data ) | ||
$data | array |
protected ensureValid ( array $attributes ) | ||
$attributes | array |