프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$bag | array | memory cache | |
$cache | Xpressengine\Support\CacheInterface | cache instance | |
$prefix | string | Prefix for cache key | |
$repo | Xpressengine\Config\ConfigRepository | repository instance |
메소드 | 설명 | |
---|---|---|
__construct ( Xpressengine\Config\ConfigRepository $repo, Xpressengine\Support\CacheInterface $cache ) | create instance | |
affiliate ( |
affiliated to another config | |
clearLike ( |
clear all just descendants vars | |
fetchAncestor ( string $siteKey, string $name ) : array | search ancestors getter | |
fetchDescendant ( string $siteKey, string $name ) : array | search descendants getter | |
find ( string $siteKey, string $name ) : |
search getter | |
foster ( |
Parent Changing with descendant | |
remove ( string $siteKey, string $name ) : void | remove | |
save ( |
save |
메소드 | 설명 | |
---|---|---|
erase ( string $siteKey, string $name ) : void | Remove cache data | |
getCacheKey ( string $keyword ) : string | String for cache key | |
getData ( string $siteKey, string $head ) : array | get cached data | |
makeKey ( string $siteKey, string $name ) : string | Make key by combination of site key and config name |
메소드 | 설명 | |
---|---|---|
getHead ( string $name ) : array | parse name to head and segments |
public __construct ( Xpressengine\Config\ConfigRepository $repo, Xpressengine\Support\CacheInterface $cache ) | ||
$repo | Xpressengine\Config\ConfigRepository | repository instance |
$cache | Xpressengine\Support\CacheInterface | cache instance |
protected getCacheKey ( string $keyword ) : string | ||
$keyword | string | keyword |
리턴 | string |
public save ( |
||
$config | config object | |
리턴 |
protected CacheInterface,Xpressengine\Support $cache | ||
리턴 | Xpressengine\Support\CacheInterface |