12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace Predis\Collection\Iterator;
- use Predis\ClientInterface;
- class Keyspace extends CursorBasedIterator
- {
-
- public function __construct(ClientInterface $client, $match = null, $count = null)
- {
- $this->requiredCommand($client, 'SCAN');
- parent::__construct($client, $match, $count);
- }
-
- protected function executeCommand()
- {
- return $this->client->scan($this->cursor, $this->getScanOptions());
- }
- }
|