Class NInstanceFilterIterator
Instance iterator filter.
-
IteratorIterator
implements
Iterator,
Traversable,
OuterIterator
-
FilterIterator
-
NInstanceFilterIterator
implements
Countable
Methods summary
public
|
#
__construct( Iterator $iterator, string $type )
Constructs a filter around another iterator.
Constructs a filter around another iterator.
Parameters
- $iterator
NIterator
- $type
string class/interface name
|
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
|