Class InstanceFilter
Instance iterator filter.
-
IteratorIterator
implements
Iterator,
Traversable,
OuterIterator
-
FilterIterator
-
Nette\Iterators\InstanceFilter
implements
Countable
Methods summary
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
Overrides
|
public
boolean
|
#
accept( )
Expose the current element of the inner iterator?
Expose the current element of the inner iterator?
Returns
boolean
|
public
integer
|
#
count( )
Returns the count of elements.
Returns the count of elements.
Returns
integer
Implementation of
|