public static function resolveSiteFromArray($siteArray, $useDomainAlias = false)
    {
        $site = new Site();

        return self::resolveSiteContextObject($site, $siteArray, $useDomainAlias);

    }