| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class CouldNotConnectToPrinter extends \RuntimeException implements LabelPrinterException |
||
| 18 | { |
||
| 19 | public static function becauseCannotOpenFile(string $file): self |
||
| 20 | { |
||
| 21 | return new self(\sprintf('Cannot open file "%s".', $file)); |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function becauseNetworkError(string $message): self |
||
| 27 | } |
||
| 28 | } |
||
| 29 |