InteractsWithFlashData
trait InteractsWithFlashData (View source)
Methods
string|array | old(string|null $key = null, string|array|null $default = null) Retrieve an old input item. | |
void | flash() Flash the input for the current request to the session. | |
void | flashOnly(array|mixed $keys) Flash only some of the input to the session. | |
void | flashExcept(array|mixed $keys) Flash only some of the input to the session. | |
void | flush() Flush all of the old input from the session. |
Details
string|array old(string|null $key = null, string|array|null $default = null)
Retrieve an old input item.
void flash()
Flash the input for the current request to the session.
void flashOnly(array|mixed $keys)
Flash only some of the input to the session.
void flashExcept(array|mixed $keys)
Flash only some of the input to the session.
void flush()
Flush all of the old input from the session.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Http/Concerns/InteractsWithFlashData.html