Documentation

InteractsWithFlashData

Table of Contents

flash()  : void
Flash the input for the current request to the session.
flashExcept()  : void
Flash only some of the input to the session.
flashOnly()  : void
Flash only some of the input to the session.
flush()  : void
Flush all of the old input from the session.
old()  : string|array<string|int, mixed>
Retrieve an old input item.

Methods

flash()

Flash the input for the current request to the session.

public flash() : void
Return values
void

flashExcept()

Flash only some of the input to the session.

public flashExcept(array<string|int, mixed>|mixed $keys) : void
Parameters
$keys : array<string|int, mixed>|mixed
Return values
void

flashOnly()

Flash only some of the input to the session.

public flashOnly(array<string|int, mixed>|mixed $keys) : void
Parameters
$keys : array<string|int, mixed>|mixed
Return values
void

flush()

Flush all of the old input from the session.

public flush() : void
Return values
void

old()

Retrieve an old input item.

public old([string $key = null ][, string|array<string|int, mixed>|null $default = null ]) : string|array<string|int, mixed>
Parameters
$key : string = null
$default : string|array<string|int, mixed>|null = null
Return values
string|array<string|int, mixed>

Search results