| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class ParsingFailedException extends \InvalidArgumentException |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var ParserInterface |
||
| 24 | */ |
||
| 25 | private $parser; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Default values. |
||
| 29 | * |
||
| 30 | * @param ParserInterface $parser |
||
| 31 | * @param \Throwable|null $previous |
||
| 32 | */ |
||
| 33 | 1 | public function __construct(ParserInterface $parser, \Throwable $previous = null) |
|
| 38 | 1 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return ParserInterface |
||
| 42 | */ |
||
| 43 | 1 | public function getParser(): ParserInterface |
|
| 48 |