/** * Find the right controller and run it */ public static function dispatch() { if (!($controller = self::getController())) { $controller = new PageNotFoundController(); } $controller->run(); }
public static function post() { PageNotFoundController::buildPage(); }