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

Redirect::__callStatic()

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

Redirect::swap()

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

Redirect::shouldReceive()

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

Redirect::setFacadeApplication()

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

Redirect::getFacadeRoot()

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

Redirect::getFacadeApplication()

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

Redirect::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void

Redirect::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

Redirect

Redirect class Redirect extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the r