Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | final class StubMapBased extends EventsHandler |
||
15 | { |
||
16 | public function __construct(OutboxMappedSuperclass $outboxMappedSuperclass) |
||
17 | { |
||
18 | $this->outboxMappedSuperclass = $outboxMappedSuperclass; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @return DomainEvent[] array |
||
23 | */ |
||
24 | public function getDomainEvents(OnFlushEventArgs $eventArgs) : array |
||
27 | } |
||
28 | |||
29 | public function persist(EntityManagerInterface $entityManager, OutboxEntry ...$outboxEntries) : void |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return OutboxEntry[] |
||
36 | * |
||
37 | * @var DomainEvent[] $domainEvents |
||
38 | */ |
||
39 | protected function convert(DomainEvent ...$domainEvents) : array |
||
44 |