PHP 클래스 Webiny\Component\Config\ConfigCache

상속: use trait Webiny\Component\StdLib\StdLibTrait
파일 보기 프로젝트 열기: Webiny/Framework 1 사용 예제들

공개 메소드들

메소드 설명
createCacheKey ( $resource ) : mixed Create cache key for storing ConfigObject
getCache ( mixed $resource ) : ConfigObject Get config from cache
setCache ( string $cacheKey, ConfigObject $config ) Set config cache

비공개 메소드들

메소드 설명
isMd5 ( String $md5 ) : boolean Checks if md5 string is valid

메소드 상세

createCacheKey() 공개 정적인 메소드

Create cache key for storing ConfigObject
public static createCacheKey ( $resource ) : mixed
$resource
리턴 mixed

getCache() 공개 정적인 메소드

Get config from cache
public static getCache ( mixed $resource ) : ConfigObject
$resource mixed
리턴 ConfigObject

setCache() 공개 정적인 메소드

Set config cache
public static setCache ( string $cacheKey, ConfigObject $config )
$cacheKey string
$config ConfigObject