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