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

        return self::resolveSiteContextObject($context, $contextArray, $useDomainAlias);
    }