Class ModuleLoaderListener

Summary

Fully Qualified Name: Zend\ModuleManager\Listener\ModuleLoaderListener
Extends: AbstractListener
Implements: ListenerAggregateInterface

Description

Module loader listener

Methods

Name Description Defined By
__construct() Constructor. ModuleLoaderListener
attach() {@inheritDoc} ModuleLoaderListener
detach() {@inheritDoc} ModuleLoaderListener
getOptions() Get options. AbstractListener
onLoadModulesPost() loadModulesPost ModuleLoaderListener
setOptions() Set options. AbstractListener

Method Details

__construct()

Constructor.

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

Parameter Name Type Description
$options \ListenerOptions

Returns:

attach()

{@inheritDoc}

Parameter Name Type Description
$events
$priority

Returns:

detach()

{@inheritDoc}

Parameter Name Type Description
$events

Returns:

getOptions()

Get options.

Returns: \ListenerOptions

onLoadModulesPost()

loadModulesPost

Unregisters the ModuleLoader and generates the module class map cache.

Parameter Name Type Description
$event \ModuleEvent

Returns:

setOptions()

Set options.

Parameter Name Type Description
$options \ListenerOptions the

Returns: \AbstractListener

Top