Move Redis collections iterators in a different namespace.

The base iterator class is now known as RedisCollectionIterator and
we've also renamed a few methods to make their naming more generic.
This commit is contained in:
Daniele Alessandri
2013-11-06 16:13:48 +01:00
parent 4d8348158f
commit df2c9eb7ff
10 changed files with 40 additions and 38 deletions
@@ -11,10 +11,10 @@
require 'SharedConfigurations.php';
use Predis\Iterator\Scan\KeyspaceIterator;
use Predis\Iterator\Scan\SetIterator;
use Predis\Iterator\Scan\SortedSetIterator;
use Predis\Iterator\Scan\HashIterator;
use Predis\Collection\Iterator\KeyspaceIterator;
use Predis\Collection\Iterator\SetIterator;
use Predis\Collection\Iterator\SortedSetIterator;
use Predis\Collection\Iterator\HashIterator;
// Redis 2.8 features new commands allowing clients to incrementally
// iterate over collections without blocking the server like it happens