Method | Description | |
---|---|---|
validate ( Illuminate\Http\Request $request, array $rules, array $messages = [], array $customAttributes = [] ) : void | Validate the given request with the given rules. |
Method | Description | |
---|---|---|
formatValidationErrors ( Illuminate\Validation\Validator $validator ) : array | Format the validation errors to be returned. | |
getValidationFactory ( ) : Illuminate\Contracts\Validation\Factory | Get a validation factory instance. |
protected formatValidationErrors ( Illuminate\Validation\Validator $validator ) : array | ||
$validator | Illuminate\Validation\Validator | |
return | array |
protected getValidationFactory ( ) : Illuminate\Contracts\Validation\Factory | ||
return | Illuminate\Contracts\Validation\Factory |