I need your help.
I'm working with Laravel 5.5 queue and with Linux supervisor tool (Exactly like it the documentation)
Now I have a very weird issue.
When I use this command without delay
event(new NewOrderHasBeenPlaceEvent($get_order_details, $tran_id, $customerDet->phone));
It's working fine.
But when I use the delay option
event(new NewOrderHasBeenPlaceEvent($get_order_details, $tran_id, $customerDet->phone))->delay(Carbon::now()->addMinutes(5));
I got an error: Call to a member function delay() on array but queue has been executed as expected.
I tried to google but nothing can be found, this got me stuck for whole day. Thanks in advance.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/34SGzRD
via IFTTT
Aucun commentaire:
Enregistrer un commentaire