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

        foreach ($teams as $team) {
            $hydrated[] = self::hydrate($team);
        }

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

        foreach ($teams as $team) {
            $hydrated[] = self::hydrate($team);
        }

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

@param stdClass[] $teams
@return TeamEntity[]
Hydrate a collection of team objects into a collection of TeamEntity objects