public function __construct(CacheItemInterface $decorated, $password, $cipher) { parent::__construct($cipher, $decorated); $this->password = $password; }
public function __construct(CacheItemInterface $decorated, $certificate, $key, $passPhrase, $cipher) { parent::__construct($cipher, $decorated); $this->setPublicKey($certificate); $this->setPrivateKey($key, $passPhrase); }