class AutoExpiredFlashBag extends FlashBag (View source)

Class FlashBag

Methods

void
setData(array $data)

setData

mixed
get(string $key, mixed $default)

get

set(string $key, mixed $value)

set

bool
has(string $name)

has

array
all()

all

$this
add(string $msg, string $type = 'info')

add

array
takeAll()

Take all and clean.

array
getType(string $type)

getType

Details

at line line 35
void setData(array $data)

setData

Parameters

array $data

Return Value

void

in SessionBag at line line 45
mixed get(string $key, mixed $default)

get

Parameters

string $key
mixed $default

Return Value

mixed

in SessionBag at line line 58
SessionBagInterface set(string $key, mixed $value)

set

Parameters

string $key
mixed $value

Return Value

SessionBagInterface

in SessionBag at line line 82
bool has(string $name)

has

Parameters

string $name

Return Value

bool

at line line 91
array all()

all

Return Value

array

at line line 101
SessionBagInterface clear()

clean

Return Value

SessionBagInterface

at line line 57
$this add(string $msg, string $type = 'info')

add

Parameters

string $msg
string $type

Return Value

$this

at line line 77
array takeAll()

Take all and clean.

Return Value

array

at line line 115
array getType(string $type)

getType

Parameters

string $type

Return Value

array