Config listener
Attach one or more listeners
Parameters: | EventManagerInterface – |
---|---|
Return type: | ConfigListener |
Pass self to the ModuleEvent object early so everyone has access.
Parameters: | ModuleEvent – |
---|---|
Return type: | ConfigListener |
Merge the config for each module
Parameters: | ModuleEvent – |
---|---|
Return type: | ConfigListener |
Merge all config files matched by the given glob()s
This is only attached if config is not cached.
Parameters: | ModuleEvent – |
---|---|
Return type: | ConfigListener |
Detach all previously attached listeners
Parameters: | EventManagerInterface – |
---|---|
Return type: | ConfigListener |
setMergedConfig
Parameters: | array – |
---|---|
Return type: | ConfigListener |
Add an array of glob paths of config files to merge after loading modules
Parameters: | array|Traversable – |
---|---|
Return type: | ConfigListener |
Add a glob path of config files to merge after loading modules
Parameters: | string – |
---|---|
Return type: | ConfigListener |
Add an array of static paths of config files to merge after loading modules
Parameters: | array|Traversable – |
---|---|
Return type: | ConfigListener |
Add a static path of config files to merge after loading modules
Parameters: | string – |
---|---|
Return type: | ConfigListener |
Add an array of paths of config files to merge after loading modules
Parameters: |
|
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ConfigListener |
Add a path of config files to load and merge after loading modules
Parameters: |
|
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ConfigListener |
@param string $key
Parameters: | array|Traversable – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ConfigListener |