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

        foreach ($activities as $activity) {
            $hydrated[] = self::hydrate($activity);
        }

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

        foreach ($activities as $activity) {
            $hydrated[] = self::hydrate($activity);
        }

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

@param stdClass[] $activities
@return ActivityEntity[]
Hydrate a collection of activity objects into a collection of ActivityEntity objects