PHP Class Learner\Http\Controllers\BaseController

Inheritance: extends Controller
Afficher le fichier Open project: RryLee/learner.video

Méthodes protégées

Méthode 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 méthode

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

redirectBackWithErrors() protected méthode

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

redirectIntended() protected méthode

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

redirectToRoute() protected méthode

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