Example #1
0
 static function error($fallbackController, $method)
 {
     if (!self::$routeFound) {
         http_response_code(404);
         self::$routeFound = true;
         $fallbackController::$method();
     }
 }