trait
Illuminate
/
Http
/
Concerns
/
InteractsWithFlashData
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
InteractsWithFlashData
Methods
public
old ( $key , $default ) : string|array|null
Retrieve an old input item.
Parameters
- $key string|null
- $default Model |string|array|null
public
flash ( ) : void
Flash the input for the current request to the session.
public
flashOnly ( $keys ) : void
Flash only some of the input to the session.
Parameters
- $keys array|mixed
public
flashExcept ( $keys ) : void
Flash only some of the input to the session.
Parameters
- $keys array|mixed
public
flush ( ) : void
Flush all of the old input from the session.