interface ArgumentBag

Methods

array
all()

Get array with all arguments.

mixed
first()

Fetch first argument from the bag.

mixed
last()

Fetch last argument from the bag.

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

Get argument with given key.

boolean
isEmpty()

Determine whether the bag is empty.

Details

at line 10
array all()

Get array with all arguments.

Return Value

array

at line 17
mixed first()

Fetch first argument from the bag.

Return Value

mixed

at line 24
mixed last()

Fetch last argument from the bag.

Return Value

mixed

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

Get argument with given key.

Parameters

string|int $key
mixed $default

Return Value

mixed

at line 40
boolean isEmpty()

Determine whether the bag is empty.

Return Value

boolean