1099. Class

1099.1. Zend\ModuleManager\Listener\ListenerOptions

Listener options

1099.1.1. Methods

1099.1.1.1. getModulePaths

getModulePaths()

Get an array of paths where modules reside

Return type:array

1099.1.1.2. setModulePaths

setModulePaths()

Set an array of paths where modules reside

Parameters:array|Traversable
Throws ExceptionInvalidArgumentException:
 
Return type:ListenerOptions Provides fluent interface

1099.1.1.3. getConfigGlobPaths

getConfigGlobPaths()

Get the glob patterns to load additional config files

Return type:array

1099.1.1.4. getConfigStaticPaths

getConfigStaticPaths()

Get the static paths to load additional config files

Return type:array

1099.1.1.5. setConfigGlobPaths

setConfigGlobPaths()

Set the glob patterns to use for loading additional config files

Parameters:array|Traversable
Throws ExceptionInvalidArgumentException:
 
Return type:ListenerOptions Provides fluent interface

1099.1.1.6. setConfigStaticPaths

setConfigStaticPaths()

Set the static paths to use for loading additional config files

Parameters:array|Traversable
Throws ExceptionInvalidArgumentException:
 
Return type:ListenerOptions Provides fluent interface

1099.1.1.7. getExtraConfig

getExtraConfig()

Get any extra config to merge in.

Return type:array|Traversable

1099.1.1.8. setExtraConfig

setExtraConfig()

Add some extra config array to the main config. This is mainly useful for unit testing purposes.

Parameters:array|Traversable
Throws ExceptionInvalidArgumentException:
 
Return type:ListenerOptions Provides fluent interface

1099.1.1.9. getConfigCacheEnabled

getConfigCacheEnabled()

Check if the config cache is enabled

Return type:bool

1099.1.1.10. setConfigCacheEnabled

setConfigCacheEnabled()

Set if the config cache should be enabled or not

Parameters:bool
Return type:ListenerOptions

1099.1.1.11. getConfigCacheKey

getConfigCacheKey()

Get key used to create the cache file name

Return type:string

1099.1.1.12. setConfigCacheKey

setConfigCacheKey()

Set key used to create the cache file name

Parameters:string – the value to be set
Return type:ListenerOptions

1099.1.1.13. getConfigCacheFile

getConfigCacheFile()

Get the path to the config cache

Should this be an option, or should the dir option include the filename, or should it simply remain hard-coded? Thoughts?

Return type:string

1099.1.1.14. getCacheDir

getCacheDir()

Get the path where cache file(s) are stored

Return type:string

1099.1.1.15. setCacheDir

setCacheDir()

Set the path where cache files can be stored

Parameters:string – the value to be set
Return type:ListenerOptions

1099.1.1.16. getModuleMapCacheEnabled

getModuleMapCacheEnabled()

Check if the module class map cache is enabled

Return type:bool

1099.1.1.17. setModuleMapCacheEnabled

setModuleMapCacheEnabled()

Set if the module class map cache should be enabled or not

Parameters:bool
Return type:ListenerOptions

1099.1.1.18. getModuleMapCacheKey

getModuleMapCacheKey()

Get key used to create the cache file name

Return type:string

1099.1.1.19. setModuleMapCacheKey

setModuleMapCacheKey()

Set key used to create the cache file name

Parameters:string – the value to be set
Return type:ListenerOptions

1099.1.1.20. getModuleMapCacheFile

getModuleMapCacheFile()

Get the path to the module class map cache

Return type:string

1099.1.1.21. getCheckDependencies

getCheckDependencies()

Set whether to check dependencies during module loading or not

Return type:string

1099.1.1.22. setCheckDependencies

setCheckDependencies()

Set whether to check dependencies during module loading or not

Parameters:bool – the value to be set
Return type:ListenerOptions

1099.1.1.23. normalizePath

normalizePath()

Normalize a path for insertion in the stack

Parameters:string
Return type:string