Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class RotationFailed extends Exception |
||
9 | { |
||
10 | private string $filename; |
||
11 | |||
12 | public function __construct(string $message = '', int $code = 0, ?Throwable $previous = null, ?string $filename = null) |
||
13 | { |
||
14 | parent::__construct($message, $code, $previous); |
||
15 | |||
16 | $this->filename = $filename ?? ''; |
||
17 | } |
||
18 | |||
19 | public function getFilename(): ?string |
||
22 | } |
||
23 | } |
||
24 |