ArgumentCollection
class ArgumentCollection implements Iterator
Methods
__construct()
No description
bool
hasKey($key)
No description
bool
isEmpty()
No description
addArguments(
array $argumentList, $force = true)
No description
addArgument(
Argument $argument, $force = true)
No description
removeArguments(
array $argumentNames)
No description
removeArgument(
string $argumentName)
No description
getCount()
No description
void
next()
(PHP 5 >= 5.0.0)
Move forward to next element
mixed
key()
(PHP 5 >= 5.0.0)
Return the key of the current element
boolean
valid()
(PHP 5 >= 5.0.0)
Checks if current position is valid
void
rewind()
(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element
getHash()
No description
Details
at line 25
__construct()
at line 34
bool
hasKey($key)
at line 43
Argument|null
get($key)
at line 51
bool
isEmpty()
at line 62
ArgumentCollection
addArguments(
array $argumentList, $force = true)
at line 77
ArgumentCollection
addArgument(
Argument $argument, $force = true)
at line 94
ArgumentCollection
removeArguments(
array $argumentNames)
at line 109
ArgumentCollection
removeArgument(
string $argumentName)
at line 118
getCount()
at line 129
Argument
current()
(PHP 5 >= 5.0.0)
Return the current element
at line 140
void
next()
(PHP 5 >= 5.0.0)
Move forward to next element
at line 151
mixed
key()
(PHP 5 >= 5.0.0)
Return the key of the current element
at line 163
boolean
valid()
(PHP 5 >= 5.0.0)
Checks if current position is valid
at line 174
void
rewind()
(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element