code: private static function RequestValidation($method,$uri){
          if(strtolower($method) != (isset(self::$PathParams[$uri])?self::$PathParams[$uri]['1']:strtolower($method))){
              header($_SERVER['SERVER_PROTOCOL']." 404 Not Found");
              die("Request mode error");
          }
      }
docs: @name func
  
  @param unknown $method
  @param unknown $uri