class TypeCollection implements Iterator

Methods

__construct()

No description

isEmpty()

No description

addType( TypeInterface $type)

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

bool
isValid($value)

No description

getFormattedValue($value)

No description

getKey($key)

No description

Details

at line 26
__construct()

at line 33
isEmpty()

at line 43
TypeCollection addType( TypeInterface $type)

Parameters

TypeInterface $type

Return Value

TypeCollection

at line 50
getCount()

at line 61
TypeInterface current()

(PHP 5 >= 5.0.0)
Return the current element

Return Value

TypeInterface

at line 72
void next()

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

Return Value

void Any returned value is ignored.

at line 83
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 95
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 106
void rewind()

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

Return Value

void Any returned value is ignored.

at line 116
bool isValid($value)

Parameters

$value

Return Value

bool

at line 127
getFormattedValue($value)

Parameters

$value

at line 138
getKey($key)

Parameters

$key