src/ResultSet.php
public function all($callable = null, $fetchStyle = 0)
    {
        if ($callable === null) {
            return $this->statement->fetchAll($fetchStyle);
        }
        return $this->statement->fetchAll($fetchStyle | PDO::FETCH_FUNC, $callable);
    }
public function all($callable = null, $fetchStyle = 0)
    {
        if ($callable === null) {
            return $this->statement->fetchAll($fetchStyle);
        }
        return $this->statement->fetchAll($fetchStyle | PDO::FETCH_FUNC, $callable);
    }
public function all ( $ callable = null , $ fetchStyle = 0 ) { if ( $ callable === null ) { return $ this -> statement -> fetchAll ( $ fetchStyle ) ; } return $ this -> statement -> fetchAll ( $ fetchStyle | PDO :: FETCH_FUNC , $ callable ) ; }
Fetch all results

@param   callable $callable (optional) Callback function
@param   int $fetchStyle (optional) PDO fetch style

@return  array
Fetch all results