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