src/Router.php
public function remove($name)
    {
        if (isset($this->routes[$name])) {
            unset($this->routes[$name]);
        }

        return $this;
    }
public function remove($name)
    {
        if (isset($this->routes[$name])) {
            unset($this->routes[$name]);
        }

        return $this;
    }
public function remove ( $ name ) { if ( isset ( $ this -> routes [ $ name ] ) ) { unset ( $ this -> routes [ $ name ] ) ; } return $ this ; }
Removes the route.

@param string $name The route name

@return self
Removes the route .