메소드 |
설명 |
|
__construct ( UrlGenerator $generator ) : void |
Create a new Redirector instance. |
|
action ( string $action, array $parameters = [], integer $status = 302, array $headers = [] ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to a controller action. |
|
away ( string $path, integer $status = 302, array $headers = [] ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to an external URL (no validation). |
|
back ( integer $status = 302, array $headers = [], string $fallback = false ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to the previous location. |
|
getUrlGenerator ( ) : UrlGenerator |
Get the URL generator instance. |
|
guest ( string $path, integer $status = 302, array $headers = [], boolean $secure = null ) : Illuminate\Http\RedirectResponse |
Create a new redirect response, while putting the current URL in the session. |
|
home ( integer $status = 302 ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to the "home" route. |
|
intended ( string $default = '/', integer $status = 302, array $headers = [], boolean $secure = null ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to the previously intended location. |
|
refresh ( integer $status = 302, array $headers = [] ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to the current URI. |
|
route ( string $route, array $parameters = [], integer $status = 302, array $headers = [] ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to a named route. |
|
secure ( string $path, integer $status = 302, array $headers = [] ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to the given HTTPS path. |
|
setSession ( Illuminate\Session\Store $session ) : void |
Set the active session store. |
|
to ( string $path, integer $status = 302, array $headers = [], boolean $secure = null ) : Illuminate\Http\RedirectResponse |
Create a new redirect response to the given path. |
|