| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class MoveEvent |
||
| 10 | { |
||
| 11 | private $identity; |
||
| 12 | private $pointInTime; |
||
| 13 | |||
| 14 | 3 | public function __construct( |
|
| 15 | Identity $identity, |
||
| 16 | PointInTimeInterface $pointInTime |
||
| 17 | ) { |
||
| 18 | 3 | $this->identity = $identity; |
|
| 19 | 3 | $this->pointInTime = $pointInTime; |
|
| 20 | 3 | } |
|
| 21 | |||
| 22 | 2 | public function identity(): Identity |
|
| 23 | { |
||
| 24 | 2 | return $this->identity; |
|
| 25 | } |
||
| 26 | |||
| 27 | 3 | public function pointInTime(): PointInTimeInterface |
|
| 30 | } |
||
| 31 | } |
||
| 32 |