original_string: public static function delete(Route $route)
      {
          $routeWithoutSlash = $route;
          $routeWithSlash = $route->getWithSlash();
  
          // exception_if(! check(self::$register[$routeWithoutSlash->getName()]), RouteNotFoundInRoutesRegisterException::class , $routeWithoutSlash);
          // exception_if(! check(self::$register[$routeWithSlash->getName()]), RouteNotFoundInRoutesRegisterException::class , $routeWithSlash);
  
          if (check(self::$register[$routeWithoutSlash->getName()])) {
              unset(self::$register[$routeWithoutSlash->getName()]);
          }
  
          if (check(self::$register[$routeWithSlash->getName()])) {
              unset(self::$register[$routeWithSlash->getName()]);
          }
      }
code: public static function delete(Route $route)
      {
          $routeWithoutSlash = $route;
          $routeWithSlash = $route->getWithSlash();
  
          // exception_if(! check(self::$register[$routeWithoutSlash->getName()]), RouteNotFoundInRoutesRegisterException::class , $routeWithoutSlash);
          // exception_if(! check(self::$register[$routeWithSlash->getName()]), RouteNotFoundInRoutesRegisterException::class , $routeWithSlash);
  
          if (check(self::$register[$routeWithoutSlash->getName()])) {
              unset(self::$register[$routeWithoutSlash->getName()]);
          }
  
          if (check(self::$register[$routeWithSlash->getName()])) {
              unset(self::$register[$routeWithSlash->getName()]);
          }
      }
code_tokens: public static function delete ( Route $ route ) { $ routeWithoutSlash = $ route ; $ routeWithSlash = $ route -> getWithSlash ( ) ; // exception_if(! check(self::$register[$routeWithoutSlash->getName()]), RouteNotFoundInRoutesRegisterException::class , $routeWithoutSlash); // exception_if(! check(self::$register[$routeWithSlash->getName()]), RouteNotFoundInRoutesRegisterException::class , $routeWithSlash); if ( check ( self :: $ register [ $ routeWithoutSlash -> getName ( ) ] ) ) { unset ( self :: $ register [ $ routeWithoutSlash -> getName ( ) ] ) ; } if ( check ( self :: $ register [ $ routeWithSlash -> getName ( ) ] ) ) { unset ( self :: $ register [ $ routeWithSlash -> getName ( ) ] ) ; } }
docstring: Remove an existant route from register.
  
  @param Route $route
  
  @return null
docstring_tokens: Remove an existant route from register .