Beta version

class SettingsBag

Settings bag used to get quickly a setting value.

Methods

static string|boolean
get(string $settingName)

Get a setting value from its name.

static Document|bool
getDocument(string $settingName)

Get a document from its setting name.

static 
clear()

Clear static cache.

Details

at line 54
static string|boolean get(string $settingName)

Get a setting value from its name.

Parameters

string $settingName

Return Value

string|boolean

at line 78
static Document|bool getDocument(string $settingName)

Get a document from its setting name.

Parameters

string $settingName

Return Value

Document|bool

at line 101
static clear()

Clear static cache.