메소드 | 설명 | |
---|---|---|
__construct ( Webmozart\KeyValueStore\Api\KeyValueStore $store, Doctrine\Common\Cache\Cache $cache, integer $ttl ) | Creates the store. | |
clear ( ) | ||
exists ( $key ) | ||
get ( $key, $default = null ) | ||
getMultiple ( array $keys, $default = null ) | ||
getMultipleOrFail ( array $keys ) | ||
getOrFail ( $key ) | ||
remove ( $key ) | ||
set ( $key, $value ) |
public __construct ( Webmozart\KeyValueStore\Api\KeyValueStore $store, Doctrine\Common\Cache\Cache $cache, integer $ttl ) | ||
$store | Webmozart\KeyValueStore\Api\KeyValueStore | The cached store. |
$cache | Doctrine\Common\Cache\Cache | The cache. |
$ttl | integer | The time-to-live for cache entries. If set to 0, cache entries never expire. |