| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | 8 | public function reconstituteFromEvents(AggregateRootId $aggregateRootId, Generator $events): AggregateRoot |
|
| 22 | { |
||
| 23 | /** @var ReconstitutableAggregateRoot $className */ |
||
| 24 | 8 | $className = $this->className; |
|
| 25 | |||
| 26 | 8 | return $className::reconstituteFromEvents($aggregateRootId, $events); |
|
| 27 | } |
||
| 29 |