I configured all prooph
service buses
with event source
and event store
.
But it's one thing what make me confused. I must call:
$eventPublisher = $this->container->get('event_publisher');
in my CommandBusFactory to glue event emitter and event bus together for dispatching domain event (from Aggregate Root) throught bus to projector. Without this my projections are not called.
My services: link
Can someone with experience in Symfony DI (Extension and CompilerPass) help me with it?