Constants

CACHE_KEY

CACHE_KEY

Properties

$_configGroups

$_configGroups : null|array

Type

null|array

$_groupedConfigs

$_groupedConfigs : array

Type

array

$_runtimeConfigDataContainer

$_runtimeConfigDataContainer : 

Type

Methods

__construct()

__construct(\Fuman_Config  $config) 

Parameters

\Fuman_Config $config

loadConfig()

loadConfig() : void

getCacheKey()

getCacheKey() : string

Returns the cache key

Returns

string

loadConfigFromCache()

loadConfigFromCache() : boolean

Returns

boolean

getNextLoaderClassName()

getNextLoaderClassName() : null|string

Returns

null|string

onApplicationReady()

onApplicationReady() : void

Called when application is ready

onApplicationFinish()

onApplicationFinish() : void

Called when application has finished

_getConfigContainerFromCache()

_getConfigContainerFromCache() : array|null|object

Returns

array|null|object

_writeCache()

_writeCache() 

Throws

\Fuman_Exception

_writeRuntimeCache()

_writeRuntimeCache() 

_loadConfig()

_loadConfig(string  $path, boolean  $setDataPath = false) 

Parameters

string $path
boolean $setDataPath

_loadFile()

_loadFile(string  $path) 

Parameters

string $path

_getConfigCacheTypeOrDefault()

_getConfigCacheTypeOrDefault() : integer

Returns

integer

_setDataPath()

_setDataPath(string  $dataPath) 

Sets data_path Constant FUMAN_DATA_PATH will always point to the current data dir (data_xxx).

FUMAN_MAIN_DATA_PATH always points to the original data dir.

Parameters

string $dataPath

Throws

\Fuman_Exception