Redirector::secure()

RedirectResponse secure(string $path, int $status = 302, array $headers = array()) Create a new redirect response to the given HTTPS path. Parameters string $path int $status array $headers Return Value RedirectResponse

Redirector::route()

RedirectResponse route(string $route, array $parameters = array(), int $status = 302, array $headers = array()) Create a new redirect response to a named route. Parameters string $route array $parameters int $status array $headers Return Value RedirectResponse

Redirector::refresh()

RedirectResponse refresh(int $status = 302, array $headers = array()) Create a new redirect response to the current URI. Parameters int $status array $headers Return Value RedirectResponse

Redirector::intended()

RedirectResponse intended(string $default = '/', int $status = 302, array $headers = array(), bool $secure = null) Create a new redirect response to the previously intended location. Parameters string $default int $status array $headers bool $secure Return Value RedirectResponse

Redirector::home()

RedirectResponse home(int $status = 302) Create a new redirect response to the "home" route. Parameters int $status Return Value RedirectResponse

Redirector::guest()

RedirectResponse guest(string $path, int $status = 302, array $headers = array(), bool $secure = null) Create a new redirect response, while putting the current URL in the session. Parameters string $path int $status array $headers bool $secure Return Value RedirectResponse

Redirector::getUrlGenerator()

UrlGenerator getUrlGenerator() Get the URL generator instance. Return Value UrlGenerator

Redirector::back()

RedirectResponse back(int $status = 302, array $headers = array()) Create a new redirect response to the previous location. Parameters int $status array $headers Return Value RedirectResponse

Redirector::away()

RedirectResponse away(string $path, int $status = 302, array $headers = array()) Create a new redirect response to an external URL (no validation). Parameters string $path int $status array $headers Return Value RedirectResponse

Redirector::action()

RedirectResponse action(string $action, array $parameters = array(), int $status = 302, array $headers = array()) Create a new redirect response to a controller action. Parameters string $action array $parameters int $status array $headers Return Value RedirectResponse