class
Illuminate
/
Http
/
RedirectResponse
RedirectResponse
Extends
-
Symfony\...\RedirectResponse
Uses
Properties
Methods
public
with ( $key , $value ) : $this
Flash a piece of data to the session.
Parameters
- $key string|array
- $value mixed
public
withCookies ( array $cookies ) : $this
Add multiple cookies to the response.
Parameters
- $cookies array
public
withInput ( array $input ) : $this
Flash an array of input to the session.
Parameters
- $input array|null
protected
removeFilesFromInput ( array $input ) : array
Remove all uploaded files form the given input array.
Parameters
- $input array
public
onlyInput ( ) : $this
Flash an array of input to the session.
public
exceptInput ( ) : $this
Flash an array of input to the session.
public
withErrors ( $provider , $key ) : $this
Flash a container of errors to the session.
Parameters
- $provider MessageProvider |array|string
- $key string
protected
parseErrors ( $provider ) : MessageBag
Parse the given errors into an appropriate value.
Parameters
- $provider MessageProvider |array|string
public
withFragment ( $fragment ) : $this
Add a fragment identifier to the URL.
Parameters
- $fragment string
public
withoutFragment ( ) : $this
Remove any fragment identifier from the response URL.
public
getOriginalContent ( ) : null
Get the original response content.
public
setSession ( Store $session ) : void
Set the session store instance.
Parameters
- $session Store
public
__call ( $method , $parameters ) : mixed
Dynamically bind flash data in the session.
Parameters
- $method string
- $parameters array