public function setUrl($url)
    {
        if (strpos($url, '/') !== 0) {
            $url = '/' . $url;
        }
        $this->url = $url;
        return $this;
    }
public function setUrl($url)
    {
        if (strpos($url, '/') !== 0) {
            $url = '/' . $url;
        }
        $this->url = $url;
        return $this;
    }
public function setUrl ( $ url ) { if ( strpos ( $ url , '/' ) !== 0 ) { $ url = '/' . $ url ; } $ this -> url = $ url ; return $ this ; }
Set the url this route is matched on.

@param string $url

@return $this
Set the url this route is matched on .