src/Result.php
public function fetchResults()
    {
        if (count($this->results) == 0) {
            while ($result = $this->fetchResult()) {
                $this->results[] = $result;
            }
        }

        return $this->results;
    }
public function fetchResults()
    {
        if (count($this->results) == 0) {
            while ($result = $this->fetchResult()) {
                $this->results[] = $result;
            }
        }

        return $this->results;
    }
public function fetchResults ( ) { if ( count ( $ this -> results ) == 0 ) { while ( $ result = $ this -> fetchResult ( ) ) { $ this -> results [ ] = $ result ; } } return $ this -> results ; }
Fetches all rows from current result set
@return array
Fetches all rows from current result set