Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
9 | final class InvalidPhpCodeException extends \RuntimeException implements Exception |
||
10 | { |
||
11 | private string $phpCode; |
||
12 | |||
13 | public function __construct(string $message, string $phpCode) |
||
14 | { |
||
15 | parent::__construct($message); |
||
16 | $this->phpCode = $phpCode; |
||
17 | } |
||
18 | |||
19 | public function getPhpCode(): string |
||
22 | } |
||
23 | } |
||
24 |