| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | final class EventCannotBeDeclaredInThePast extends LogicException |
||
| 9 | { |
||
| 10 | private $pointInTime; |
||
| 11 | |||
| 12 | 2 | public function __construct(PointInTimeInterface $pointInTime) |
|
| 13 | { |
||
| 14 | 2 | $this->pointInTime = $pointInTime; |
|
| 15 | 2 | parent::__construct((string) $pointInTime); |
|
| 16 | 2 | } |
|
| 17 | |||
| 18 | 2 | public function pointInTime(): PointInTimeInterface |
|
| 21 | } |
||
| 22 | } |
||
| 23 |