trait
Illuminate
/
Validation
/
ValidatesWhenResolvedTrait
ValidatesWhenResolvedTrait
Methods
public
validateResolved ( ) : void
Validate the class instance.
protected
prepareForValidation ( ) : void
Prepare the data for validation.
protected
passedValidation ( ) : void
Handle a passed validation attempt.
protected
failedValidation ( Validator $validator ) : void
Handle a failed validation attempt.
Parameters
- $validator Validator
protected
passesAuthorization ( ) : bool
Determine if the request passes the authorization check.
protected
failedAuthorization ( ) : void
Handle a failed authorization attempt.