• Jeremy Mikola's avatar
    PHPLIB-81: CachingIterator fixes for rewind and count · b2a76bfb
    Jeremy Mikola authored
    Ensure that a call to CachingIterator::rewind() no longer exhausts results up front, which would impose a BufferedIterator design.
    
    Initializing the cache to an empty array also ensures that we can count an empty result set.
    b2a76bfb
Name
Last commit
Last update
docs Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...