protected function hydrateAll(array $data, QueryBuilder $qb)
    {
        $rows = [];
        foreach ($data as $row) {
            $rows[] = $this->hydrate($row, $qb);
        }

        return $rows;
    }
protected function hydrateAll(array $data, QueryBuilder $qb)
    {
        $rows = [];
        foreach ($data as $row) {
            $rows[] = $this->hydrate($row, $qb);
        }

        return $rows;
    }
protected function hydrateAll ( array $ data , QueryBuilder $ qb ) { $ rows = [ ] ; foreach ( $ data as $ row ) { $ rows [ ] = $ this -> hydrate ( $ row , $ qb ) ; } return $ rows ; }
Internal method to hydrate an array of Entity Objects from fetched data.

@param array        $data
@param QueryBuilder $qb

@return mixed
Internal method to hydrate an array of Entity Objects from fetched data .