interface CollectionInterface implements Serializable, ArrayAccess, Countable, IteratorAggregate, JsonSerializable

Collection Interface

Methods

set($key, $value)

No description

get(string $key, $default = null)

No description

replace(array $items)

No description

array
all()

No description

bool
has(string $key)

No description

mixed
remove($key)

No description

clear()

clear all data

Details

at line 10
set($key, $value)

Parameters

$key
$value

at line 12
get(string $key, $default = null)

Parameters

string $key
$default

at line 17
replace(array $items)

Parameters

array $items

at line 22
array all()

Return Value

array

at line 28
bool has(string $key)

Parameters

string $key

Return Value

bool

at line 34
mixed remove($key)

Parameters

$key

Return Value

mixed

at line 39
clear()

clear all data