$this header(string $key, array|string $values, bool $replace = true) Set a header on the Response. Parameters string $key array|string $values bool $replace Return Value $this
Store|null getSession() Get the session store implementation. Return Value Store|null
Request|null getRequest() Get the request instance. Return Value Request|null
RedirectResponse exceptInput() Flash an array of input to the session. Return Value RedirectResponse
$this cookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this
string content() Get the content of the response. Return Value string
RedirectResponse class RedirectResponse extends RedirectResponse (View source) Traits ResponseTrait
void __construct(UrlGenerator $generator) Create a new Redirector instance. Parameters UrlGenerator $generator Return Value void
RedirectResponse to(string $path, int $status = 302, array $headers = array(), bool $secure = null) Create a new redirect response to the given path. Parameters string $path int $status array $headers bool $secure Return Value RedirectResponse
void setSession(Store $session) Set the active session store. Parameters Store $session Return Value void
Page 294 of 996