PHP Class App\Http\Requests\RegisterRequest

Inheritance: extends Request
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Public Methods

Method 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 method

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

authorize() public method

public authorize ( )

response() public method

public response ( array $errors )
$errors array

rules() public method

Get the validation rules that apply to the request.
public rules ( ) : array
return array