Class Cached
- MvcCore\Config implements Iterator, ArrayAccess, Countable, MvcCore\IConfig uses MvcCore\Config\PropsGettersSetters, MvcCore\Config\ReadWrite, MvcCore\Config\MagicMethods, MvcCore\Config\Environment, MvcCore\Config\IniProps, MvcCore\Config\IniRead, MvcCore\Config\IniDump
-
MvcCore\Ext\Configs\Cached
Inheritdocs
Located at ext-config-cached/src/MvcCore/Ext/Configs/Cached.php
public static
|
|
public static
integer|null
|
|
public static
|
|
public static
string[]
|
|
public static
|
#
SetEnvironmentGroups( array $environmentGroups = [] )
Set array with each key as environment name and values as another environment names necessary to also keep in cached config. |
public static
array
|
#
GetEnvironmentGroups( )
Get array with each key as environment name and values as another environment names necessary to also keep in cached config. |
protected static
|
#
getConfigInstance( string $configFullPath, string $systemConfigClass, boolean $isSystemConfig = FALSE )
Try to load from cache or from hdd and parse config file by app root relative path. If config contains system data, try to detect environment. |
protected static
|
#
computeEnvironmentData(
Complete config merged data collection records for all necessary environments. |
protected static
boolean
|
#
cacheConfig(
Cache completed configuration file. |
protected static
|
#
detectEnvironment(
Detect environment if necessary and returns it's name. |
protected static
string
|
|
protected static
|
count()
|
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset()
|
current(),
key(),
next(),
rewind(),
valid()
|
ClearConfigCache(),
GetFullPath(),
GetLastChanged(),
GetSystemConfigPath(),
IsSystem(),
SetConfigCache(),
SetSystemConfigPath()
|
CreateInstance(),
GetConfig(),
GetSystem(),
LoadConfig(),
Save()
|
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
count(),
current(),
key(),
next(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
rewind(),
valid()
|
GetData(),
GetEnvironmentDetectionData(),
SetData(),
SetUpEnvironmentData(),
_mergeArraysOrObjectsRecursive(),
mergeEnvironmentData(),
mergeRecursive()
|
Read(),
readAllEnvironmentsSections(),
readExpandLevelsAndReType(),
readTypedSpecialValueOrString(),
readTypedValue(),
readTypedValueFloatOrInt()
|
string |
VERSION
MvcCore Extension - Config - Cached - version: Comparison by PHP function version_compare(); |
#
'5.0.0'
|
protected static
|
$cache
Cache instance pointer. |
#
NULL
|
protected static
integer|null
|
$ttl
Cache ttl used to cache config files,
|
#
NULL
|
protected static
string[]
|
$tags
Cache tags used to cache config files,
|
#
['config']
|
protected static
array
|
$environmentGroups
Array with each key as environment name and values as another environment names necessary to also keep in cached config. |
#
[]
|
$app,
$appRoot,
$configsCache,
$currentData,
$envData,
$environmentNamesFilter,
$fullPath,
$lastChanged,
$mergedData,
$sectionNamesFilter,
$system
|
$commonEnvironmentDataKey,
$systemEnvironmentsSectionName
|
$specialValues,
$systemConfigPath
|