Split and delete ModuleController
- $moduleName is part of the argument string => App\Arguments - $isBackend boolean already part of App\Mode::isBackend() - $module is now the direct return of App\Router::getModule() - ModuleController::run() moved to BaseModule::run()
This commit is contained in:
@@ -98,14 +98,6 @@ abstract class DI
|
||||
return self::$dice->create(App\Mode::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return App\ModuleController
|
||||
*/
|
||||
public static function module()
|
||||
{
|
||||
return self::$dice->create(App\ModuleController::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return App\Page
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user