protected function buildUnkeyedResultSet(array $results) : array
    {
        $builder = new EntityBuilder($this->mapper, array_keys($this->eagerLoads), $this->useCache);

        return array_map(function ($item) use ($builder) {
            return $builder->build($item);
        }, $results);
    }
protected function buildUnkeyedResultSet(array $results) : array
    {
        $builder = new EntityBuilder($this->mapper, array_keys($this->eagerLoads), $this->useCache);

        return array_map(function ($item) use ($builder) {
            return $builder->build($item);
        }, $results);
    }
protected function buildUnkeyedResultSet ( array $ results ) : array { $ builder = new EntityBuilder ( $ this -> mapper , array_keys ( $ this -> eagerLoads ) , $ this -> useCache ) ; return array_map ( function ( $ item ) use ( $ builder ) { return $ builder -> build ( $ item ) ; } , $ results ) ; }
Build a result set.

@param array $results

@return array
Build a result set .