| 1 | <?php |
||
| 8 | class EncryptingPoolDecorator extends BasePoolDecorator |
||
| 9 | { |
||
| 10 | /** @var resource|string */ |
||
| 11 | private $certificate; |
||
| 12 | /** @var string */ |
||
| 13 | private $key; |
||
| 14 | /** @var null|string */ |
||
| 15 | private $passPhrase; |
||
| 16 | /** @var string */ |
||
| 17 | private $cipher; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param CacheItemPoolInterface $decorated |
||
| 21 | * @param string|resource $certificate |
||
| 22 | * @param string $key |
||
| 23 | * @param string|null $passPhrase |
||
| 24 | * @param string $cipher |
||
| 25 | * |
||
| 26 | * @throws \Psr\Cache\InvalidArgumentException |
||
| 27 | */ |
||
| 28 | 441 | public function __construct( |
|
| 41 | |||
| 42 | 135 | protected function decorate(CacheItemInterface $inner) |
|
| 52 | } |
||
| 53 |