Answer the question
In order to leave comments, you need to log in
How to get queue task id in controller in laravel 5.7?
Good day.
I use queues in api, in the old documentation examples 5.2, 5.5 is done by running the dispatcher in the controller.
Now, using the last construction, is it possible to somehow get id
the tasks? $job = JobClass::dispatch($classDataObject);
$job
returns empty.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question