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);
    }
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);
    }
Return domain name from url

@param boolean $scheme
@return string