| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class RuntimeException extends \RuntimeException implements ExceptionInterface |
||
| 17 | { |
||
| 18 | private $pageFile; |
||
| 19 | private $pageLine; |
||
| 20 | private $pageCol; |
||
| 21 | |||
| 22 | public function __construct(string $message, string $pageFile = null, int $pageLine = null, int $pageCol = null, \Throwable $previous = null) |
||
| 23 | { |
||
| 24 | $this->pageFile = $pageFile; |
||
| 25 | $this->pageLine = $pageLine; |
||
| 26 | $this->pageCol = $pageCol; |
||
| 27 | |||
| 28 | parent::__construct($message, 0, $previous); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getPageFile(): ?string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getPageLine(): ?int |
||
| 37 | { |
||
| 38 | return $this->pageLine; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function getPageCol(): ?int |
||
| 44 | } |
||
| 45 | } |
||
| 46 |