Method | Description | |
---|---|---|
__clone ( ) | Creating a copy of the orginal CacheItemInterface object. | |
__construct ( Psr\Cache\CacheItemInterface $cacheItem, Defuse\Crypto\Key $key ) | ||
addTag ( $tag ) | ||
expiresAfter ( $time ) | ||
expiresAt ( $expiration ) | ||
get ( ) | ||
getExpirationDate ( ) | ||
getKey ( ) | ||
getTags ( ) | ||
isHit ( ) | ||
set ( $value ) | ||
setTags ( array $tags ) |
Method | Description | |
---|---|---|
transform ( array $item ) : mixed | Transfrom value back to it orginal type. |
public __clone ( ) |
public __construct ( Psr\Cache\CacheItemInterface $cacheItem, Defuse\Crypto\Key $key ) | ||
$cacheItem | Psr\Cache\CacheItemInterface | |
$key | Defuse\Crypto\Key |