Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class ReconstitutableAggregateRootFactory implements AggregateRootFactory |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | private $className; |
||
13 | |||
14 | 10 | public function __construct(string $className) |
|
17 | 10 | } |
|
18 | |||
19 | 8 | public function reconstituteFromEvents(AggregateRootId $aggregateRootId, Generator $events): AggregateRoot |
|
25 | } |
||
26 | } |