| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PublicKeyException extends \RuntimeException |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var GeneratorPoint |
||
| 14 | */ |
||
| 15 | private $G; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var PointInterface |
||
| 19 | */ |
||
| 20 | private $point; |
||
| 21 | |||
| 22 | public function __construct(GeneratorPoint $G, PointInterface $point, string $message = "", int $code = 0, Throwable $previous = null) |
||
| 23 | { |
||
| 24 | $this->G = $G; |
||
| 25 | $this->point = $point; |
||
| 26 | parent::__construct($message, $code, $previous); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getGenerator(): GeneratorPoint |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getPoint(): PointInterface |
||
| 39 |