PHP Class Cache\Encryption\EncryptedCachePool

Author: Daniel Bannert ([email protected])
Inheritance: implements Psr\Cache\CacheItemPoolInterface
Exibir arquivo Open project: php-cache/cache

Public Methods

Method Description
__construct ( Psr\Cache\CacheItemPoolInterface $cachePool, Defuse\Crypto\Key $key )
clear ( )
commit ( )
deleteItem ( $key )
deleteItems ( array $keys )
getItem ( $key )
getItems ( array $keys = [] )
hasItem ( $key )
save ( Psr\Cache\CacheItemInterface $item )
saveDeferred ( Psr\Cache\CacheItemInterface $item )

Method Details

__construct() public method

public __construct ( Psr\Cache\CacheItemPoolInterface $cachePool, Defuse\Crypto\Key $key )
$cachePool Psr\Cache\CacheItemPoolInterface
$key Defuse\Crypto\Key

clear() public method

public clear ( )

commit() public method

public commit ( )

deleteItem() public method

public deleteItem ( $key )

deleteItems() public method

public deleteItems ( array $keys )
$keys array

getItem() public method

public getItem ( $key )

getItems() public method

public getItems ( array $keys = [] )
$keys array

hasItem() public method

public hasItem ( $key )

save() public method

public save ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface

saveDeferred() public method

public saveDeferred ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface