public function toUrl()
    {
        $url = $this->url;
        unset($url['engine'], $url['database']);
        $url['scheme'] = $this->getScheme();
        $url['path'] = $this->getPath();

        return $this->toUrlArray($url);
    }