lib/Elastica/Scroll.php
protected function _saveOptions()
    {
        if ($this->_search->hasOption(Search::OPTION_SCROLL)) {
            $this->_options[0] = $this->_search->getOption(Search::OPTION_SCROLL);
        }

        if ($this->_search->hasOption(Search::OPTION_SCROLL_ID)) {
            $this->_options[1] = $this->_search->getOption(Search::OPTION_SCROLL_ID);
        }
    }
protected function _saveOptions()
    {
        if ($this->_search->hasOption(Search::OPTION_SCROLL)) {
            $this->_options[0] = $this->_search->getOption(Search::OPTION_SCROLL);
        }

        if ($this->_search->hasOption(Search::OPTION_SCROLL_ID)) {
            $this->_options[1] = $this->_search->getOption(Search::OPTION_SCROLL_ID);
        }
    }
protected function _saveOptions ( ) { if ( $ this -> _search -> hasOption ( Search :: OPTION_SCROLL ) ) { $ this -> _options [ 0 ] = $ this -> _search -> getOption ( Search :: OPTION_SCROLL ) ; } if ( $ this -> _search -> hasOption ( Search :: OPTION_SCROLL_ID ) ) { $ this -> _options [ 1 ] = $ this -> _search -> getOption ( Search :: OPTION_SCROLL_ID ) ; } }
Save all search options manipulated by Scroll.
Save all search options manipulated by Scroll .