ModuleRegistry

FinalYes
Internal

Always use the ModuleProvider API to access modules

Table of Contents

Methods

__construct()  : mixed
getModule()  : ModuleInterface
getModuleAliases()  : array<string|int, mixed>
getModules()  : array<string|int, ModuleInterface>
hasModule()  : bool
registerRoutesForModules()  : void
Needs to be called when the router is set up, AFTER all modules are loaded.

Methods

getModuleAliases()

public getModuleAliases() : array<string|int, mixed>
Return values
array<string|int, mixed>

hasModule()

public hasModule(string $identifier) : bool
Parameters
$identifier : string
Return values
bool

registerRoutesForModules()

Needs to be called when the router is set up, AFTER all modules are loaded.

public registerRoutesForModules(Router $router) : void
Parameters
$router : Router

        
On this page

Search results