code: public static function getMethod($route)
      {
          $route = Url::addBackSlash($route);
  
          return isset(self::$routes[$route]) ? self::$routes[$route] : null;
      }
docs: Get method to call from URI.
  
  @param string $route
  
  @uses \string Url::addBackSlash → add backslash if it doesn't exist
  
  @return string|null → route or null