src/Collection/Iterator/CursorBasedIterator.php
protected function getScanOptions()
    {
        $options = array();

        if (strlen($this->match) > 0) {
            $options['MATCH'] = $this->match;
        }

        if ($this->count > 0) {
            $options['COUNT'] = $this->count;
        }

        return $options;
    }
protected function getScanOptions()
    {
        $options = array();

        if (strlen($this->match) > 0) {
            $options['MATCH'] = $this->match;
        }

        if ($this->count > 0) {
            $options['COUNT'] = $this->count;
        }

        return $options;
    }
protected function getScanOptions ( ) { $ options = array ( ) ; if ( strlen ( $ this -> match ) > 0 ) { $ options [ 'MATCH' ] = $ this -> match ; } if ( $ this -> count > 0 ) { $ options [ 'COUNT' ] = $ this -> count ; } return $ options ; }
Returns an array of options for the `SCAN` command.

@return array
Returns an array of options for the SCAN command .