8
In the documentation of PHP
, has a class called EmptyIterator
When I look at the method documentation EmptyIterator::rewind()
, there is written:
No Operation, Nothing to do. (No operation, nothing to do)
And the other methods make exceptions or return FALSE
.
What’s the point of having one iterator
empty in the manual? For if I had to extend this class, the inherited methods would serve no purpose !?!?
Ah, I know it’s no use.
– Wallace Maxters
http://stackoverflow.com/questions/32762768/what-is-the-purpose-of-emptyiterator
– Wallace Maxters
Why don’t you answer the question, and accept the answer, since you already know what it is ?
– Edilson
thanks, @Edilson. When I have time I’ll do it.
– Wallace Maxters