class ArgumentBag implements ArgumentBag

Methods

__construct(array $items)

Create new bag.

array
all()

No description

mixed
first()

No description

mixed
last()

No description

mixed
get(string|int $key, mixed $default = null)

No description

set(string $key, mixed $value)

Set value at given key.

boolean
isEmpty()

No description

Details

at line 19
__construct(array $items)

Create new bag.

Parameters

array $items

at line 27
array all()

Return Value

array

at line 35
mixed first()

Return Value

mixed

at line 45
mixed last()

Return Value

mixed

at line 55
mixed get(string|int $key, mixed $default = null)

Parameters

string|int $key
mixed $default

Return Value

mixed

at line 66
set(string $key, mixed $value)

Set value at given key.

Parameters

string $key
mixed $value

at line 74
boolean isEmpty()

Return Value

boolean