GXModuleConfigurationStorage

Extends \ConfigurationStorage

subclass of ConfigurationStorage for parameters concerning GXModules

package

Default

Methods

constructor; initializes namespace for GXModule configuration with correct namespace

__construct(string $module) 

Arguments

$module

string

VendorModulename directory of GXModule

Returns a single configuration value by its key if stored as json decode automaticaly

get(string $key, \LanguageCode $languageCode = null) : string|array|null

Arguments

$key

string

a configuration key (relative to the namespace prefix)

$languageCode

\LanguageCode

Optional for language dependent config values.

Response

string|array|null

configuration value

Properties