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