ArgumentBag
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.
at line 17
mixed
first()
Fetch first argument from the bag.
at line 24
mixed
last()
Fetch last argument from the bag.
at line 33
mixed
get(string|int $key, mixed $default = null)
Get argument with given key.
at line 40
boolean
isEmpty()
Determine whether the bag is empty.