Redirect::getFacadeApplication()

static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application

Redirect::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed

Redirect::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Redirect::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Redirect::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Redirect::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

Redirector

Redirector class Redirector (View source) Methods void __construct(UrlGenerator $generator) Create a new Redirector instance. RedirectResponse home(int $status = 302) Create a new redirect response to the "home" route. RedirectResponse back(int $status = 302, array $headers = array()) Create a new redirect response to the previous location. RedirectResponse refresh(int $status = 302, array $headers = array()) Create a new redirect response to the current URI. RedirectRes

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

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::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