Given their incremental nature with multiple fetches, these kind of iterators offer limited guarantees about the returned elements because the collection can change several times during the iteration process.
See also: http://redis.io/commands/scan
Author: Daniele Alessandri (suppakilla@gmail.com)
Inheritance: implements Iterator
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function __construct(ClientInterface $client, $key, $match = null, $count = null)
 {
     $this->requiredCommand($client, 'SSCAN');
     parent::__construct($client, $match, $count);
     $this->key = $key;
 }