code: public function getDomain($scheme = false)
      {
          if ($scheme) {
              return sprintf('%s.%s', $this->get(self::PARSE_SCHEME), $this->get(self::PARSE_HOST));
          }
          
          return $this->get(self::PARSE_HOST);
      }
docs: Return domain name from url
  
  @param boolean $scheme
  @return string