RedirectResponse::withException()

$this withException(Exception $e) Set the exception to attach to the response. Parameters Exception $e Return Value $this

RedirectResponse::withErrors()

$this withErrors(MessageProvider|array|string $provider, string $key = 'default') Flash a container of errors to the session. Parameters MessageProvider|array|string $provider string $key Return Value $this

RedirectResponse::withCookies()

$this withCookies(array $cookies) Add multiple cookies to the response. Parameters array $cookies Return Value $this

RedirectResponse::withCookie()

$this withCookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this

RedirectResponse::with()

RedirectResponse with(string|array $key, mixed $value = null) Flash a piece of data to the session. Parameters string|array $key mixed $value Return Value RedirectResponse

RedirectResponse::throwResponse()

throwResponse() Throws the response in a HttpResponseException instance. Exceptions HttpResponseException

RedirectResponse::status()

int status() Get the status code for the response. Return Value int

RedirectResponse::setSession()

void setSession(Store $session) Set the session store implementation. Parameters Store $session Return Value void

RedirectResponse::setRequest()

void setRequest(Request $request) Set the request instance. Parameters Request $request Return Value void

RedirectResponse::onlyInput()

$this onlyInput() Flash an array of input to the session. Return Value $this