public function isSameTopLevelDomain(Uri $uri) { return $this->getTopLevelDomain() == $uri->getTopLevelDomain(); }