ModuleInterface
in
Module interface
Table of Contents
Methods
- boot() : void
- Boot module callback
- getConfig() : array<string|int, mixed>
- Get module config
- getInstance() : mixed|null
- Get module instance
- getModuleName() : string
- Get module name
- getTestError() : string|null
- Get etst error
- install() : void
- Install module callbaxk
- setConfig() : void
- Set module config
- setModuleName() : void
- Set module name
- test() : bool
- Test module
Methods
boot()
Boot module callback
public
boot() : void
getConfig()
Get module config
public
getConfig([string|null $key = null ]) : array<string|int, mixed>
Parameters
- $key : string|null = null
Return values
array<string|int, mixed>getInstance()
Get module instance
public
getInstance() : mixed|null
Return values
mixed|nullgetModuleName()
Get module name
public
getModuleName() : string
Return values
stringgetTestError()
Get etst error
public
getTestError() : string|null
Return values
string|nullinstall()
Install module callbaxk
public
install() : void
setConfig()
Set module config
public
setConfig(array<string|int, mixed> $config) : void
Parameters
- $config : array<string|int, mixed>
setModuleName()
Set module name
public
setModuleName(string $name) : void
Parameters
- $name : string
test()
Test module
public
test() : bool