Cache\Encryption\EncryptedCachePool::__construct PHP Method

__construct() public method

public __construct ( Psr\Cache\CacheItemPoolInterface $cachePool, Defuse\Crypto\Key $key )
$cachePool Psr\Cache\CacheItemPoolInterface
$key Defuse\Crypto\Key
    public function __construct(CacheItemPoolInterface $cachePool, Key $key)
    {
        $this->cachePool = $cachePool;
        $this->key = $key;
    }