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