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

        foreach ($types as $type) {
            $hydrated[] = self::hydrate($type);
        }

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

        foreach ($types as $type) {
            $hydrated[] = self::hydrate($type);
        }

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

@param stdClass[] $types
@return TypeEntity[]
Hydrate a collection of type objects into a collection of TypeEntity objects