PHP Class Learner\Http\Controllers\BaseController

Inheritance: extends Controller
Mostrar archivo Open project: RryLee/learner.video

Protected Methods

Method Description
redirectBack ( array $data = [] ) : Illuminate\Http\RedirectResponse Redirect back with old input and the specified data.
redirectBackWithErrors ( array $errors = null ) : Illuminate\Http\RedirectResponse Redirect to back with errors.
redirectIntended ( mixed $default = null ) : Illuminate\Http\RedirectResponse Redirect a logged in user to the previously intended url.
redirectToRoute ( string $route, array $params = [], array $data = [] ) : Illuminate\Http\RedirectResponse Redirect to the specified named route.

Method Details

redirectBack() protected method

Redirect back with old input and the specified data.
protected redirectBack ( array $data = [] ) : Illuminate\Http\RedirectResponse
$data array
return Illuminate\Http\RedirectResponse

redirectBackWithErrors() protected method

Redirect to back with errors.
protected redirectBackWithErrors ( array $errors = null ) : Illuminate\Http\RedirectResponse
$errors array
return Illuminate\Http\RedirectResponse

redirectIntended() protected method

Redirect a logged in user to the previously intended url.
protected redirectIntended ( mixed $default = null ) : Illuminate\Http\RedirectResponse
$default mixed
return Illuminate\Http\RedirectResponse

redirectToRoute() protected method

Redirect to the specified named route.
protected redirectToRoute ( string $route, array $params = [], array $data = [] ) : Illuminate\Http\RedirectResponse
$route string
$params array
$data array
return Illuminate\Http\RedirectResponse