You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -78,7 +78,7 @@ The message processor must subscribe to `event.foo` topic. The message queue top
78
78
```php
79
79
<?php
80
80
81
-
use Enqueue\Bundle\Events\Registry;
81
+
use Enqueue\AsyncEventDispatcher\Registry;
82
82
use Enqueue\Client\TopicSubscriberInterface;
83
83
use Enqueue\Psr\PsrContext;
84
84
use Enqueue\Psr\PsrMessage;
@@ -126,7 +126,7 @@ class FooEventProcessor implements PsrProcessor, TopicSubscriberInterface
126
126
## Event transformer
127
127
128
128
The bundle uses [php serializer](https://github.com/php-enqueue/enqueue-dev/blob/master/pkg/enqueue-bundle/Events/PhpSerializerEventTransformer.php) transformer by default to pass events through MQ.
129
-
You could create a transformer for the given event type. The transformer must implement `Enqueue\Bundle\Events\EventTransformer` interface.
129
+
You could create a transformer for the given event type. The transformer must implement `Enqueue\AsyncEventDispatcher\EventTransformer` interface.
130
130
Consider the next example. It shows how to send an event that contains Doctrine entity as a subject
131
131
132
132
```php
@@ -140,7 +140,7 @@ use Enqueue\Consumption\Result;
140
140
use Enqueue\Psr\PsrMessage;
141
141
use Enqueue\Util\JSON;
142
142
use Symfony\Component\EventDispatcher\Event;
143
-
use Enqueue\Bundle\Events\EventTransformer;
143
+
use Enqueue\AsyncEventDispatcher\EventTransformer;
144
144
use Doctrine\Bundle\DoctrineBundle\Registry;
145
145
use Symfony\Component\EventDispatcher\GenericEvent;
0 commit comments