trait Illuminate / Validation / ValidatesWhenResolvedTrait
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ValidatesWhenResolvedTrait

Methods

public

validateResolved ( ) : void

Validate the class instance.

protected

prepareForValidation ( ) : void

Prepare the data for validation.

protected

getValidatorInstance ( ) : Validator

Get the validator instance for the request.

protected

passedValidation ( ) : void

Handle a passed validation attempt.

protected

failedValidation ( Validator $validator ) : void

Handle a failed validation attempt.

Parameters

protected

passesAuthorization ( ) : bool

Determine if the request passes the authorization check.

protected

failedAuthorization ( ) : void

Handle a failed authorization attempt.