RedirectResponse::status()

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

RedirectResponse::throwResponse()

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

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::withCookie()

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

RedirectResponse::withCookies()

$this withCookies(array $cookies) Add multiple cookies to the response. Parameters array $cookies 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::withException()

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

RedirectResponse::withHeaders()

$this withHeaders(array $headers) Add an array of headers to the response. Parameters array $headers Return Value $this

RedirectResponse::withInput()

$this withInput(array $input = null) Flash an array of input to the session. Parameters array $input Return Value $this

RedirectResponse::__call()

$this __call(string $method, array $parameters) Dynamically bind flash data in the session. Parameters string $method array $parameters Return Value $this Exceptions BadMethodCallException