src/Query.php
public function first($scroll_id = NULL)
    {

        $this->take(1);

        $result = $this->getResult($scroll_id);

        return $this->getFirst($result);
    }
public function first($scroll_id = NULL)
    {

        $this->take(1);

        $result = $this->getResult($scroll_id);

        return $this->getFirst($result);
    }
public function first ( $ scroll_id = NULL ) { $ this -> take ( 1 ) ; $ result = $ this -> getResult ( $ scroll_id ) ; return $ this -> getFirst ( $ result ) ; }
Get the first object of results
@param string $scroll_id
@return object
Get the first object of results