interface SessionBagInterface (View source)

Interface SessionBagInterface

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

Details

at line line 23
void setData(array $data)

setData

Parameters

array $data

Return Value

void

at line line 33
mixed get(string $key, mixed $default)

get

Parameters

string $key
mixed $default

Return Value

mixed

at line line 43
SessionBagInterface set(string $key, mixed $value)

set

Parameters

string $key
mixed $value

Return Value

SessionBagInterface

at line line 52
bool has(string $name)

has

Parameters

string $name

Return Value

bool

at line line 59
array all()

all

Return Value

array

at line line 66
SessionBagInterface clear()

clean

Return Value

SessionBagInterface