| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 63 | 10 | private function __construct( |
|
| 64 | string $id, |
||
| 65 | object $event, |
||
| 66 | int $playhead, |
||
| 67 | \DateTimeImmutable $occuredAt, |
||
| 68 | ?\DateTimeImmutable $recordedAt = null |
||
| 69 | ) |
||
| 70 | { |
||
| 71 | 10 | $this->id = $id; |
|
| 72 | 10 | $this->event = $event; |
|
| 73 | 10 | $this->playhead = $playhead; |
|
| 74 | 10 | $this->occuredAt = $occuredAt; |
|
| 75 | 10 | $this->recordedAt = $recordedAt; |
|
| 76 | 10 | } |
|
| 78 |