trait
Illuminate
/
Http
/
Concerns
/
InteractsWithFlashData
You are viewing an older version of the documentation. For the latest, please visit master documentation.
InteractsWithFlashData
Methods
public
old ( $key , $default ) : string|array|null
Retrieve an old input item.
Parameters
- $key string|null
- $default 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.