How to get jobid from inside job in php-resque?

429 Views Asked by At

I'm having first steps with php-resque https://github.com/chrisboulton/php-resque . Anybody knows how can I get jobid inside Job Class ?

1

There are 1 best solutions below

0
On BEST ANSWER

You can get the id/token with: $this->job->payload["id"];