public static function edit(Route $route)
    {
        $routeWithoutSlash = $route;
        $routeWithSlash = $route->getWithSlash();

        self::$register[$routeWithoutSlash->getName()] = $routeWithoutSlash;
        self::$register[$routeWithSlash->getName()] = $routeWithSlash;
    }
public static function edit(Route $route)
    {
        $routeWithoutSlash = $route;
        $routeWithSlash = $route->getWithSlash();

        self::$register[$routeWithoutSlash->getName()] = $routeWithoutSlash;
        self::$register[$routeWithSlash->getName()] = $routeWithSlash;
    }
public static function edit ( Route $ route ) { $ routeWithoutSlash = $ route ; $ routeWithSlash = $ route -> getWithSlash ( ) ; self :: $ register [ $ routeWithoutSlash -> getName ( ) ] = $ routeWithoutSlash ; self :: $ register [ $ routeWithSlash -> getName ( ) ] = $ routeWithSlash ; }
Update an existant route in register.

@param Route $route

@return null
Update an existant route in register .