1102. Class

1102.1. Zend\ModuleManager\Listener\ModuleLoaderListener

Module loader listener

1102.1.1. Methods

1102.1.1.1. __construct

__construct()

Constructor.

Creates an instance of the ModuleAutoloader and injects the module paths into it.

Parameters:ListenerOptions

1102.1.1.2. attach

attach()

Attach one or more listeners

Parameters:EventManagerInterface
Return type:LocatorRegistrationListener

1102.1.1.3. detach

detach()

Detach all previously attached listeners

Parameters:EventManagerInterface
Return type:void

1102.1.1.4. hasCachedClassMap

hasCachedClassMap()

@return bool

1102.1.1.5. getCachedConfig

getCachedConfig()

@return array

1102.1.1.6. onLoadModulesPost

onLoadModulesPost()

loadModulesPost

Unregisters the ModuleLoader and generates the module class map cache.

Parameters:ModuleEvent