trait ValidatesWhenResolvedTrait (View source)
Provides default implementation of ValidatesWhenResolved contract.
void | validateResolved() Validate the class instance. | |
void | prepareForValidation() Prepare the data for validation. | |
Validator | getValidatorInstance() Get the validator instance for the request. | |
void | passedValidation() Handle a passed validation attempt. | |
void | failedValidation(Validator $validator) Handle a failed validation attempt. | |
bool | passesAuthorization() Determine if the request passes the authorization check. | |
void | failedAuthorization() Handle a failed authorization attempt. |
Validate the class instance.
Prepare the data for validation.
Get the validator instance for the request.
Handle a passed validation attempt.
Handle a failed validation attempt.
Determine if the request passes the authorization check.
Handle a failed authorization attempt.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Validation/ValidatesWhenResolvedTrait.html