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