getDomain(); if ($domain === $host) { return true; } } return false; } protected function newRoutingMap() { return id(new AphrontRoutingMap()) ->setSite($this); } final public static function getAllSites() { return id(new PhutilClassMapQuery()) ->setAncestorClass(self::class) ->setSortMethod('getPriority') ->execute(); } }