src/Query.php
protected function getResult($scroll_id)
    {

        if (is_null($this->cacheMinutes)) {
            $result = $this->response($scroll_id);
        } else {

            $result = app("cache")->driver($this->cacheDriver)->get($this->getCacheKey());

            if (is_null($result)) {
                $result = $this->response($scroll_id);
            }
        }

        return $result;
    }
protected function getResult($scroll_id)
    {

        if (is_null($this->cacheMinutes)) {
            $result = $this->response($scroll_id);
        } else {

            $result = app("cache")->driver($this->cacheDriver)->get($this->getCacheKey());

            if (is_null($result)) {
                $result = $this->response($scroll_id);
            }
        }

        return $result;
    }
protected function getResult ( $ scroll_id ) { if ( is_null ( $ this -> cacheMinutes ) ) { $ result = $ this -> response ( $ scroll_id ) ; } else { $ result = app ( "cache" ) -> driver ( $ this -> cacheDriver ) -> get ( $ this -> getCacheKey ( ) ) ; if ( is_null ( $ result ) ) { $ result = $ this -> response ( $ scroll_id ) ; } } return $ result ; }
Get query result
@param $scroll_id
@return mixed
Get query result