RedirectResponse
class RedirectResponse extends RedirectResponse (View source)
Traits
Methods
$this
header(
string $key,
string $value,
bool $replace = true)
Set a header on the Response.
from ResponseTrait
with(
string|array $key,
mixed $value = null)
Flash a piece of data to the session.
$this
withCookies(
array $cookies)
Add multiple cookies to the response.
$this
withInput(
array $input = null)
Flash an array of input to the session.
$this
onlyInput()
Flash an array of input to the session.
exceptInput()
Flash an array of input to the session.
$this
withErrors(
MessageProvider|array|string $provider,
string $key = 'default')
Flash a container of errors to the session.
Request|null
getRequest()
Get the request instance.
void
Store|null
getSession()
Get the session store implementation.
void
$this
__call(
string $method,
array $parameters)
Dynamically bind flash data in the session.
Details
in ResponseTrait at line line 35
$this
header(
string $key,
string $value,
bool $replace = true)
Set a header on the Response.
in ResponseTrait at line line 48
$this
withHeaders(
array $headers)
Add an array of headers to the response.
in ResponseTrait at line line 74
$this
withCookie(
Cookie|mixed $cookie)
Add a cookie to the response.
at line line 39
RedirectResponse
with(
string|array $key,
mixed $value = null)
Flash a piece of data to the session.
at line line 115
$this
withErrors(
MessageProvider|array|string $provider,
string $key = 'default')
Flash a container of errors to the session.
at line line 192
$this
__call(
string $method,
array $parameters)
Dynamically bind flash data in the session.