File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -288,16 +288,16 @@ do is to write your own CSV receiver::
288288
289289 foreach ($ordersFromCsv as $orderFromCsv) {
290290 $order = new NewOrder($orderFromCsv['id'], $orderFromCsv['account_id'], $orderFromCsv['amount']);
291-
291+
292292 $envelope = new Envelope($order);
293293
294294 $handler($envelope);
295295 }
296-
296+
297297 return [$envelope];
298298 }
299-
300- public function ack(Envelope $envelope): void
299+
300+ public function ack(Envelope $envelope): void
301301 {
302302 // Add information about the handled message
303303 }
@@ -310,8 +310,9 @@ do is to write your own CSV receiver::
310310
311311.. versionadded :: 4.3
312312
313- The ``ReceiverInterface `` has been upgraded to act as most libraries
314- does, be sure to adapt your existing code according to the newly added methods.
313+ In Symfony 4.3, the ``ReceiverInterface `` has changed its methods as shown
314+ in the example above. You may need to update your code if you used this
315+ interface in previous Symfony versions.
315316
316317Receiver and Sender on the same Bus
317318~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments