File tree 1 file changed +7
-6
lines changed 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::
288
288
289
289
foreach ($ordersFromCsv as $orderFromCsv) {
290
290
$order = new NewOrder($orderFromCsv['id'], $orderFromCsv['account_id'], $orderFromCsv['amount']);
291
-
291
+
292
292
$envelope = new Envelope($order);
293
293
294
294
$handler($envelope);
295
295
}
296
-
296
+
297
297
return [$envelope];
298
298
}
299
-
300
- public function ack(Envelope $envelope): void
299
+
300
+ public function ack(Envelope $envelope): void
301
301
{
302
302
// Add information about the handled message
303
303
}
@@ -310,8 +310,9 @@ do is to write your own CSV receiver::
310
310
311
311
.. versionadded :: 4.3
312
312
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.
315
316
316
317
Receiver and Sender on the same Bus
317
318
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments