InteractsWithFlashData
trait InteractsWithFlashData (View source)
Methods
string|array|null
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|null
old(string|null $key = null, Model|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.