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

        foreach ($sources as $source) {
            $hydrated[] = self::hydrate($source);
        }

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

        foreach ($sources as $source) {
            $hydrated[] = self::hydrate($source);
        }

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

@param stdClass[] $sources
@return SourceEntity[]
Hydrate a collection of source objects into a collection of SourceEntity objects