| Methods |
public
|
with(string|array $key, mixed $value = null): $this
Flash a piece of data to the session.
Flash a piece of data to the session.
|
#
|
public
|
withCookies(array $cookies): $this
Add multiple cookies to the response.
Add multiple cookies to the response.
|
#
|
public
|
withInput(array|null $input = null): $this
Flash an array of input to the session.
Flash an array of input to the session.
|
#
|
protected
|
removeFilesFromInput(array $input): array
Remove all uploaded files form the given input array.
Remove all uploaded files form the given input array.
|
#
|
public
|
onlyInput(): $this
Flash an array of input to the session.
Flash an array of input to the session.
|
#
|
public
|
exceptInput(): $this
Flash an array of input to the session.
Flash an array of input to the session.
|
#
|
public
|
withErrors(MessageProvider|array|string $provider, string $key = 'default'): $this
Flash a container of errors to the session.
Flash a container of errors to the session.
|
#
|
protected
|
parseErrors(MessageProvider|array|string $provider): MessageBag
Parse the given errors into an appropriate value.
Parse the given errors into an appropriate value.
|
#
|
public
|
withFragment(string $fragment): $this
Add a fragment identifier to the URL.
Add a fragment identifier to the URL.
|
#
|
public
|
withoutFragment(): $this
Remove any fragment identifier from the response URL.
Remove any fragment identifier from the response URL.
|
#
|
public
|
enforceSameOrigin(string $fallback, bool $validateScheme = true, bool $validatePort = true): static
Enforce that the redirect target must have the same host as the current request.
Enforce that the redirect target must have the same host as the current request.
|
#
|
public
|
getOriginalContent(): null
Get the original response content.
Get the original response content.
|
#
|
public
|
getRequest(): Request|null
Get the request instance.
Get the request instance.
|
#
|
public
|
setRequest(Request $request): $this
Set the request instance.
Set the request instance.
|
#
|
public
|
getSession(): Store|null
Get the session store instance.
Get the session store instance.
|
#
|
public
|
setSession(Store $session): $this
Set the session store instance.
Set the session store instance.
|
#
|
public
|
__call(string $method, array $parameters): mixed
Dynamically bind flash data in the session.
Dynamically bind flash data in the session.
Throws
|
#
|