1 | <?php |
||
22 | class AggregateRepositoryFactory |
||
23 | { |
||
24 | /** |
||
25 | * @var EventStoreInterface |
||
26 | */ |
||
27 | protected $eventStore; |
||
28 | |||
29 | /** |
||
30 | * AggregateRepositoryFactory constructor. |
||
31 | * |
||
32 | * @param EventStoreInterface $eventStore |
||
33 | */ |
||
34 | public function __construct(EventStoreInterface $eventStore) |
||
38 | |||
39 | /** |
||
40 | * @param string $aggregateClassName |
||
41 | * |
||
42 | * @return AggregateRepository |
||
43 | */ |
||
44 | public function create($aggregateClassName) |
||
48 | } |
||
49 |