private function SiteHostCondition(Site $site)
    {
        $siteUrl = $site->GetUrl();
        $host = parse_url($siteUrl, PHP_URL_HOST);
        return new RewriteCondition(new Variable(ServerVariable::HttpHost()), $host);
    }
private function SiteHostCondition(Site $site)
    {
        $siteUrl = $site->GetUrl();
        $host = parse_url($siteUrl, PHP_URL_HOST);
        return new RewriteCondition(new Variable(ServerVariable::HttpHost()), $host);
    }
private function SiteHostCondition ( Site $ site ) { $ siteUrl = $ site -> GetUrl ( ) ; $ host = parse_url ( $ siteUrl , PHP_URL_HOST ) ; return new RewriteCondition ( new Variable ( ServerVariable :: HttpHost ( ) ) , $ host ) ; }
Gets the host condition for a page rewrite
@param Site $site
@return RewriteCondition
Gets the host condition for a page rewrite