class ArrayBag extends SessionBag implements SessionBagInterface (View source)

The ArrayBag class.

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 32
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

in SessionBag at line line 92
array all()

all

Return Value

array

in SessionBag at line line 102
SessionBagInterface clear()

clean

Return Value

SessionBagInterface