chrisboulton/php-resque — Issue #38: Why queue is not a member variable of Job class?
Author: hSATAC
Created: 2012-01-30 08:13:11+00:00
State: open

In ```Resque``` queue is set as a member variable of Job class
but in ```PHP-Resque``` queue is something you just put whatever you like when you try to enqueue a job.

May I ask why?

And my real problem is, the event AfterEnqueue got 2 argvs, $class and $arg

But I need to know which queue this job belongs.

Can't do.

Of course I could modify lib/Resque.php to pass the $queue into AfterEnqueue,
but I still want to know why it's different from the origin ```Resque```