trait ValidatesRequests (View source)
| array | validateWith(Validator|array $validator, Request|null $request = null)
Run the validation routine against the given validator. | |
| array | validate(Request $request, array $rules, array $messages = [], array $attributes = [])
Validate the given request with the given rules. | |
| array | validateWithBag(string $errorBag, Request $request, array $rules, array $messages = [], array $attributes = [])
Validate the given request with the given rules. | |
| Factory | getValidationFactory()
Get a validation factory instance. |
Run the validation routine against the given validator.
Validate the given request with the given rules.
Validate the given request with the given rules.
Get a validation factory instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Foundation/Validation/ValidatesRequests.html