PHP Trait Flugg\Responder\Traits\ThrowsApiErrors

Author: Alexander Tømmerås ([email protected])
Afficher le fichier Open project: flugger/laravel-responder

Méthodes protégées

Méthode Description
failedAuthorization ( ) : void Handle a failed authorization attempt.
failedValidation ( Illuminate\Contracts\Validation\Validator $validator ) : void Handle a failed validation attempt.

Method Details

failedAuthorization() protected méthode

Handle a failed authorization attempt.
protected failedAuthorization ( ) : void
Résultat void

failedValidation() protected méthode

Handle a failed validation attempt.
protected failedValidation ( Illuminate\Contracts\Validation\Validator $validator ) : void
$validator Illuminate\Contracts\Validation\Validator
Résultat void