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

        foreach ($patches as $patch) {
            $hydrated[] = self::hydrate($patch);
        }

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

        foreach ($patches as $patch) {
            $hydrated[] = self::hydrate($patch);
        }

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

@param stdClass[] $patches
@return PatchEntity[]
Hydrate a collection of patch objects into a collection of PatchEntity objects