Total Complexity | 2 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class EventStager |
||
12 | { |
||
13 | /** |
||
14 | * @var AggregateRootId |
||
15 | */ |
||
16 | private $id; |
||
17 | |||
18 | /** |
||
19 | * @phpstan-var AggregateRootRepository<AggregateRoot> |
||
20 | * |
||
21 | * @var AggregateRootRepository |
||
22 | */ |
||
23 | private $repository; |
||
24 | |||
25 | /** |
||
26 | * @var AggregateRootTestCase |
||
27 | */ |
||
28 | private $testCase; |
||
29 | |||
30 | /** |
||
31 | * @var InMemoryMessageRepository |
||
32 | */ |
||
33 | private $messageRepository; |
||
34 | |||
35 | /** |
||
36 | * @phpstan-param AggregateRootRepository<AggregateRoot> $repository |
||
37 | */ |
||
38 | public function __construct( |
||
48 | } |
||
49 | |||
50 | public function stage(object ...$events): AggregateRootTestCase |
||
58 |