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

        foreach ($profiles as $profile) {
            $hydrated[] = self::hydrate($profile);
        }

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

        foreach ($profiles as $profile) {
            $hydrated[] = self::hydrate($profile);
        }

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

@param stdClass[] $profiles
@return ProfileEntity[]
Hydrate a collection of profile objects into a collection of ProfileEntity objects