ILexicon
in
This interface needs to be implemented if you want to define a config lexicon for your application The config lexicon is used to avoid conflicts and problems when storing/retrieving config values
Attributes
- #[Implementable]
- $since: '32.0.0'
Table of Contents
Methods
- getAppConfigs() : array<string|int, Entry>
- define the list of entries of your application config lexicon, related to AppConfig.
- getStrictness() : Strictness
- Define the expected behavior when using config keys not set within your application config lexicon.
- getUserConfigs() : array<string|int, Entry>
- define the list of entries of your application config lexicon, related to UserPreferences.
Methods
getAppConfigs()
define the list of entries of your application config lexicon, related to AppConfig.
public
getAppConfigs() : array<string|int, Entry>
Tags
Return values
array<string|int, Entry>getStrictness()
Define the expected behavior when using config keys not set within your application config lexicon.
public
getStrictness() : Strictness
Tags
Return values
StrictnessgetUserConfigs()
define the list of entries of your application config lexicon, related to UserPreferences.
public
getUserConfigs() : array<string|int, Entry>