| 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 |
||
| 72 | 10 | private function __construct( |
|
| 73 | string $id, |
||
| 74 | object $event, |
||
| 75 | int $playhead, |
||
| 76 | \DateTimeImmutable $occuredAt, |
||
| 77 | ?\DateTimeImmutable $recordedAt = null |
||
| 78 | ) { |
||
| 79 | 10 | $this->id = $id; |
|
| 80 | 10 | $this->event = $event; |
|
| 81 | 10 | $this->playhead = $playhead; |
|
| 82 | 10 | $this->occuredAt = $occuredAt; |
|
| 83 | 10 | $this->recordedAt = $recordedAt; |
|
| 84 | 10 | } |
|
| 86 |