Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 2 | public function __construct( |
|
20 | string $key, |
||
21 | $value, |
||
22 | CacheInterface $cache, |
||
23 | $message = 'Could not store the value in the cache', |
||
24 | $code = 0, |
||
25 | \Throwable $previous = null |
||
26 | ) { |
||
27 | 2 | $this->key = $key; |
|
28 | 2 | $this->value = $value; |
|
29 | 2 | $this->cache = $cache; |
|
30 | 2 | parent::__construct($message, $code, $previous); |
|
31 | } |
||
51 |