W
W
werder332016-06-24 15:11:04
Laravel
werder33, 2016-06-24 15:11:04

Laravel Queues?

how to get task id in laravel queue.
Version 4 had $job->getJobId(), but what about version 5?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoliy Lyovkin, 2016-06-24
@Alyovkin

There is a trait InteractsWithQueue, add it to the handler class and get id$this->job->getJobId()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question