PHP Class App\Http\Controllers\Controller

Inheritance: extends Illuminate\Routing\Controller, use trait Illuminate\Foundation\Auth\Access\AuthorizesRequests, use trait Illuminate\Foundation\Bus\DispatchesJobs, use trait Illuminate\Foundation\Validation\ValidatesRequests
Mostra file Open project: jadjoubran/laravel5-angular-material-starter Class Usage Examples

Public Methods

Method Description
validate ( Illuminate\Http\Request $request, array $rules, array $messages = [], array $customAttributes = [] ) *fixes unwanted redirects when validation fails

Method Details

validate() public method

*fixes unwanted redirects when validation fails
public validate ( Illuminate\Http\Request $request, array $rules, array $messages = [], array $customAttributes = [] )
$request Illuminate\Http\Request
$rules array
$messages array
$customAttributes array