Documentation

ValidatesWhenResolvedTrait

Provides default implementation of ValidatesWhenResolved contract.

Table of Contents

validate()  : void
Validate the class instance.
failedAuthorization()  : void
Handle a failed authorization attempt.
failedValidation()  : void
Handle a failed validation attempt.
getValidatorInstance()  : Validator
Get the validator instance for the request.
passesAuthorization()  : bool
Determine if the request passes the authorization check.
prepareForValidation()  : void
Prepare the data for validation.

Methods

passesAuthorization()

Determine if the request passes the authorization check.

protected passesAuthorization() : bool
Return values
bool

prepareForValidation()

Prepare the data for validation.

protected prepareForValidation() : void
Return values
void

Search results