Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | abstract class CacheException extends RuntimeException implements \Psr\SimpleCache\CacheException |
||
11 | { |
||
12 | private string $key; |
||
13 | |||
14 | 4 | public function __construct(string $key, string $message = '', int $code = 0, Throwable $previous = null) |
|
15 | { |
||
16 | 4 | $this->key = $key; |
|
17 | 4 | parent::__construct($message, $code, $previous); |
|
18 | 4 | } |
|
19 | |||
20 | 2 | public function getKey(): string |
|
23 | } |
||
24 | } |
||
25 |