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