BeforeModuleCreationEvent
FinalYes
Listeners can adjust the module configuration before the module gets created and registered
Table of Contents
Methods
- __construct() : mixed
- getConfiguration() : array<string|int, mixed>
- getConfigurationValue() : mixed
- getIdentifier() : string
- hasConfigurationValue() : bool
- setConfiguration() : void
- setConfigurationValue() : void
Methods
__construct()
public
__construct(string $identifier, array<string|int, mixed> $configuration) : mixed
Parameters
- $identifier : string
- $configuration : array<string|int, mixed>
getConfiguration()
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getConfigurationValue()
public
getConfigurationValue(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
getIdentifier()
public
getIdentifier() : string
Return values
stringhasConfigurationValue()
public
hasConfigurationValue(string $key) : bool
Parameters
- $key : string
Return values
boolsetConfiguration()
public
setConfiguration(array<string|int, mixed> $configuration) : void
Parameters
- $configuration : array<string|int, mixed>
setConfigurationValue()
public
setConfigurationValue(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed