Zend Framework  3.0
Public Member Functions | List of all members
ModuleManagerInterface Interface Reference

Module manager interface. More...

Public Member Functions

 loadModules ()
 Load the provided modules.
 
 loadModule ($moduleName)
 Load a specific module by name.
 
 getLoadedModules ($loadModules)
 Get an array of the loaded modules.
 
 getModules ()
 Get the array of module names that this manager should load.
 
 setModules ($modules)
 Set an array or Traversable of module names that this module manager should load.
 
- Public Member Functions inherited from EventManagerAwareInterface
 setEventManager (EventManagerInterface $eventManager)
 Inject an EventManager instance.
 
- Public Member Functions inherited from EventsCapableInterface
 getEventManager ()
 Retrieve the event manager.
 

Detailed Description

Module manager interface.

Member Function Documentation

getLoadedModules (   $loadModules)

Get an array of the loaded modules.

Parameters
bool$loadModulesIf true, load modules if they're not already
Returns
array An array of Module objects, keyed by module name

Implemented in ModuleManager.

getModules ( )

Get the array of module names that this manager should load.

Returns
array

Implemented in ModuleManager.

loadModule (   $moduleName)

Load a specific module by name.

Parameters
string$moduleName
Returns
mixed Module's Module class

Implemented in ModuleManager.

loadModules ( )

Load the provided modules.

Returns
ModuleManagerInterface

Implemented in ModuleManager.

setModules (   $modules)

Set an array or Traversable of module names that this module manager should load.

Parameters
mixed$modulesarray or Traversable of module names
Returns
ModuleManagerInterface

Implemented in ModuleManager.