__construct()
getEvent()
getEventManager()
getLoadedModules()
getModule()
getModules()
loadModule()
loadModules()
onLoadModules()
setEvent()
setEventManager()
setModules()
attachDefaultListeners()
loadModuleByName()
$event
$events
$loadFinished
$loadedModules
$modules
$modulesAreLoaded
EVENT_BOOTSTRAP
Module manager
__construct(array | \Traversable $modules, \Zend\EventManager\EventManagerInterface $eventManager)
getEventManager() : \Zend\EventManager\EventManagerInterface
Lazy-loads an EventManager instance if none registered.
getLoadedModules(bool $loadModules) : array
bool
If true, load modules if they're not already
array
An array of Module objects, keyed by module namegetModule(string $moduleName) : mixed
string
mixed
getModules() : array
array
loadModule(string | array $module) : mixed
triggers | loadModule.resolve |
---|---|
triggers | loadModule |
stringarray
\Zend\ModuleManager\Exception\RuntimeException |
---|
mixed
Module's Module classonLoadModules() : void
setEvent(\Zend\ModuleManager\ModuleEvent $event) : \Zend\ModuleManager\ModuleManager
setEventManager(\Zend\EventManager\EventManagerInterface $events) : \Zend\ModuleManager\ModuleManager
setModules(mixed $modules) : \Zend\ModuleManager\ModuleManager
mixed
array or Traversable of module names
\Zend\ModuleManager\Exception\InvalidArgumentException |
---|
attachDefaultListeners() : \Zend\ModuleManager\ModuleManager
loadModuleByName(\Zend\EventManager\EventInterface $event) : mixed
$loadFinished : bool
$loadedModules : array
$modules : array | \Traversable
$modulesAreLoaded : bool
EVENT_BOOTSTRAP