Module manager
Constructor
| Parameters: |
|
|---|
Load a specific module by name.
| Parameters: | string – |
|---|---|
| Throws ExceptionRuntimeException: | |
| @triggers loadModule.resolve | |
@triggers loadModule
rtype: mixed Module’s Module class
Get an array of the loaded modules.
| Parameters: | bool – If true, load modules if they’re not already |
|---|---|
| Return type: | array An array of Module objects, keyed by module name |
Get an instance of a module class by the module name
| Parameters: | string – |
|---|---|
| Return type: | mixed |
Get the array of module names that this manager should load.
| Return type: | array |
|---|
Set an array or Traversable of module names that this module manager should load.
| Parameters: | mixed – array or Traversable of module names |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | ModuleManager |
Set the module event
| Parameters: | ModuleEvent – |
|---|---|
| Return type: | ModuleManager |
Set the event manager instance used by this module manager.
| Parameters: | EventManagerInterface – |
|---|---|
| Return type: | ModuleManager |