public function setUrl($url)
    {
        $this->urlAbsolute = preg_replace('#/$#', '', $url);

        if ($this->urlRelative === null) {
            $this->urlRelative = $this->urlAbsolute;
        }

        return $this;
    }