src/QueryBuilder.php
protected function convertItem($rs)
    {
        if ('array' == $this->returnAs) {
            return $rs;
        }

        if ('stdclass' == $this->returnAs) {
            return (object) $rs;
        }

        return new $this->returnAs($rs);
    }
protected function convertItem($rs)
    {
        if ('array' == $this->returnAs) {
            return $rs;
        }

        if ('stdclass' == $this->returnAs) {
            return (object) $rs;
        }

        return new $this->returnAs($rs);
    }
protected function convertItem ( $ rs ) { if ( 'array' == $ this -> returnAs ) { return $ rs ; } if ( 'stdclass' == $ this -> returnAs ) { return ( object ) $ rs ; } return new $ this -> returnAs ( $ rs ) ; }
Convert a record set

@param  array $rs
@return mixed
Convert a record set