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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.