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

        foreach ($parts as $part) {
            $hydrated[] = self::hydrate($part);
        }

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

        foreach ($parts as $part) {
            $hydrated[] = self::hydrate($part);
        }

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

@param stdClass[] $parts
@return PartEntity[]
Hydrate a collection of part objects into a collection of PartEntity objects