namespace Nette
Class InstanceFilterIterator
Instance iterator filter.
- IteratorIterator implements Iterator, Traversable, OuterIterator
-
FilterIterator
-
Nette\InstanceFilterIterator implements Countable
public
|
#
__construct(
Iterator
$iterator,
string
$type
)
Constructs a filter around another iterator. Constructs a filter around another iterator. Parameters$iterator Iterator$type string class/interface name |
public
bool
|
#
accept(
)
Expose the current element of the inner iterator? Expose the current element of the inner iterator? |
public
int
|
#
count(
)
Returns the count of elements. |