| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class FileNotWrittenException extends RuntimeException implements ExceptionInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $fileName; |
||
| 17 | |||
| 18 | public function __construct(string $fileName, Throwable $previous = null) |
||
| 19 | { |
||
| 20 | $this->fileName = $fileName; |
||
| 21 | parent::__construct("Failed to write file: {$this->fileName}", 0, $previous); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getFileName(): string |
||
| 27 | } |
||
| 28 | } |
||
| 29 |