PHP Class App\Http\Requests\RegisterRequest

Inheritance: extends Request
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Illuminate\Http\Request $req ) : boolean Determine if the user is authorized to make this request.
authorize ( )
response ( array $errors )
rules ( ) : array Get the validation rules that apply to the request.

Method Details

__construct() public méthode

Determine if the user is authorized to make this request.
public __construct ( Illuminate\Http\Request $req ) : boolean
$req Illuminate\Http\Request
Résultat boolean

authorize() public méthode

public authorize ( )

response() public méthode

public response ( array $errors )
$errors array

rules() public méthode

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