/** * Handles the current route by handing it over to the controller in charge * for this route. * @param string $controllerDirectory The directory the controllers are in. * The directory should be without ending directory separator. * @return void */ public static function handleRoute($controllerDirectory) { $ctrlName = self::getBaseControllerName(); Controller::handleRoute($ctrlName, $controllerDirectory); }