PHP Class Cache\Encryption\EncryptedItemDecorator

Author: Daniel Bannert ([email protected])
Inheritance: implements Psr\Cache\CacheItemInterface, implements Cache\Adapter\Common\HasExpirationDateInterface, implements Cache\Taggable\TaggableItemInterface
Datei anzeigen Open project: php-cache/cache

Public Methods

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 )

Private Methods

Method Description
transform ( array $item ) : mixed Transfrom value back to it orginal type.

Method Details

__clone() public method

Creating a copy of the orginal CacheItemInterface object.
public __clone ( )

__construct() public method

public __construct ( Psr\Cache\CacheItemInterface $cacheItem, Defuse\Crypto\Key $key )
$cacheItem Psr\Cache\CacheItemInterface
$key Defuse\Crypto\Key

addTag() public method

public addTag ( $tag )

expiresAfter() public method

public expiresAfter ( $time )

expiresAt() public method

public expiresAt ( $expiration )

get() public method

public get ( )

getExpirationDate() public method

public getExpirationDate ( )

getKey() public method

public getKey ( )

getTags() public method

public getTags ( )

isHit() public method

public isHit ( )

set() public method

public set ( $value )

setTags() public method

public setTags ( array $tags )
$tags array