PHP 클래스 Learner\Http\Controllers\BaseController

상속: extends Controller
파일 보기 프로젝트 열기: RryLee/learner.video

보호된 메소드들

메소드 설명
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.

메소드 상세

redirectBack() 보호된 메소드

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

redirectBackWithErrors() 보호된 메소드

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

redirectIntended() 보호된 메소드

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

redirectToRoute() 보호된 메소드

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