| 1 | <?php |
||
| 16 | class ParseException extends \Exception |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var StringIterator |
||
| 20 | */ |
||
| 21 | private $stringIterator; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * ParseException constructor. |
||
| 25 | */ |
||
| 26 | 7 | public function __construct(string $message = '', StringIterator $stringIterator = null, \Throwable $previous = null) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Get line number of current entry on the StringIterator. |
||
| 38 | */ |
||
| 39 | 1 | private function getLineNumber(): int |
|
| 54 | } |
||
| 55 |