Predis\Collection\Iterator\CursorBasedIterator::getScanOptions PHP Метод

getScanOptions() защищенный Метод

Returns an array of options for the SCAN command.
protected getScanOptions ( ) : array
Результат array
    protected function getScanOptions()
    {
        $options = array();
        if (strlen($this->match) > 0) {
            $options['MATCH'] = $this->match;
        }
        if ($this->count > 0) {
            $options['COUNT'] = $this->count;
        }
        return $options;
    }