class ArgumentCollection implements Iterator

Methods

__construct()

No description

bool
hasKey($key)

No description

Argument|null
get($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

current()

(PHP 5 >= 5.0.0)
Return the current element

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)

Parameters

$key

Return Value

bool

at line 43
Argument|null get($key)

Parameters

$key

Return Value

Argument|null

at line 51
bool isEmpty()

Return Value

bool

at line 62
ArgumentCollection addArguments( array $argumentList, $force = true)

Parameters

array $argumentList
$force

Return Value

ArgumentCollection

at line 77
ArgumentCollection addArgument( Argument $argument, $force = true)

Parameters

Argument $argument
$force

Return Value

ArgumentCollection

at line 94
ArgumentCollection removeArguments( array $argumentNames)

Parameters

array $argumentNames Array with names of arguments to remove.

Return Value

ArgumentCollection

at line 109
ArgumentCollection removeArgument( string $argumentName)

Parameters

string $argumentName Name of the argument to remove.

Return Value

ArgumentCollection

at line 118
getCount()

at line 129
Argument current()

(PHP 5 >= 5.0.0)
Return the current element

Return Value

Argument

at line 140
void next()

(PHP 5 >= 5.0.0)
Move forward to next element

Return Value

void Any returned value is ignored.

at line 151
mixed key()

(PHP 5 >= 5.0.0)
Return the key of the current element

Return Value

mixed scalar on success, or null on failure.

at line 163
boolean valid()

(PHP 5 >= 5.0.0)
Checks if current position is valid

Return Value

boolean The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

at line 174
void rewind()

(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element

Return Value

void Any returned value is ignored.

at line 179
getHash()