trait InteractsWithFlashData

Methods

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(mixed $keys)

Flash only some of the input to the session.

void
flashExcept(mixed $keys)

Flash only some of the input to the session.

void
flush()

Flush all of the old input from the session.

Details

at line 14
string|array|null old(string|null $key = null, Model|string|array|null $default = null)

Retrieve an old input item.

Parameters

string|null $key
Model|string|array|null $default

Return Value

string|array|null

at line 24
void flash()

Flash the input for the current request to the session.

Return Value

void

at line 32
void flashOnly(mixed $keys)

Flash only some of the input to the session.

Parameters

mixed $keys

Return Value

void

at line 42
void flashExcept(mixed $keys)

Flash only some of the input to the session.

Parameters

mixed $keys

Return Value

void

at line 52
void flush()

Flush all of the old input from the session.

Return Value

void