trait InteractsWithFlashData

Methods

mixed
old(string|null $key = null, mixed $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
mixed old(string|null $key = null, mixed $default = null)

Retrieve an old input item.

Parameters

string|null $key
mixed $default

Return Value

mixed

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