public static function hydrateCollection(array $resources)
    {
        $hydrated = [];

        foreach ($resources as $resource) {
            $hydrated[] = self::hydrate($resource);
        }

        return $hydrated;
    }
public static function hydrateCollection(array $resources)
    {
        $hydrated = [];

        foreach ($resources as $resource) {
            $hydrated[] = self::hydrate($resource);
        }

        return $hydrated;
    }
public static function hydrateCollection ( array $ resources ) { $ hydrated = [ ] ; foreach ( $ resources as $ resource ) { $ hydrated [ ] = self :: hydrate ( $ resource ) ; } return $ hydrated ; }
Hydrate a collection of resource objects into a collection of
ResourceEntity objects

@param stdClass[] $resources
@return ResourceEntity[]
Hydrate a collection of resource objects into a collection of ResourceEntity objects