PHP Class App\Http\Requests\Front\Api\NewsletterSubscriptionRequest

Inheritance: extends App\Http\Requests\Request
Afficher le fichier Open project: spatie-custom/blender Class Usage Examples

Méthodes publiques

Méthode Description
authorize ( ) : boolean Determine if the user is authorized to make this request.
rules ( ) : array Get the validation rules that apply to the request.

Méthodes protégées

Méthode Description
failedValidation ( Illuminate\Contracts\Validation\Validator $validator )

Method Details

authorize() public méthode

Determine if the user is authorized to make this request.
public authorize ( ) : boolean
Résultat boolean

failedValidation() protected méthode

protected failedValidation ( Illuminate\Contracts\Validation\Validator $validator )
$validator Illuminate\Contracts\Validation\Validator

rules() public méthode

Get the validation rules that apply to the request.
public rules ( ) : array
Résultat array