public static function resolveContextFromArray($contextArray, $useDomainAlias = false)
    {
        $context = new ContextObject();

        return self::resolveSiteContextObject($context, $contextArray, $useDomainAlias);
    }
public static function resolveContextFromArray($contextArray, $useDomainAlias = false)
    {
        $context = new ContextObject();

        return self::resolveSiteContextObject($context, $contextArray, $useDomainAlias);
    }
public static function resolveContextFromArray ( $ contextArray , $ useDomainAlias = false ) { $ context = new ContextObject ( ) ; return self :: resolveSiteContextObject ( $ context , $ contextArray , $ useDomainAlias ) ; }
Creates a ContextObject object from an array originating from the environments.xml

@static
@param  $contextArray
@param bool $useDomainAlias
@return
Creates a ContextObject object from an array originating from the environments . xml