public function url()
    {
        if (!is_null($this->href)) {
            return $this->href;
        } elseif (isset($this->path['url'])) {
            return $this->getUrl();
        } elseif (isset($this->path['route'])) {
            return $this->getRoute();
        } elseif (isset($this->path['action'])) {
            return $this->getControllerAction();
        }

        return null;
    }