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

        foreach ($contexts as $context) {
            $hydrated[] = self::hydrate($context);
        }

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

        foreach ($contexts as $context) {
            $hydrated[] = self::hydrate($context);
        }

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

@param stdClass[] $contexts
@return ContextEntity[]
Hydrate a collection of context objects into a collection of ContextEntity objects