mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
Added token as an argument to the afterEnqueue callback
This commit is contained in:
parent
b0843f4dba
commit
6d8cd501b7
@ -384,6 +384,7 @@ Called after a job has been queued using the `Resque::enqueue` method. Arguments
|
||||
* Class - string containing the name of scheduled job
|
||||
* Arguments - array of arguments supplied to the job
|
||||
* Queue - string containing the name of the queue the job was added to
|
||||
* Token - string containing the new token of the enqueued job
|
||||
|
||||
## Contributors ##
|
||||
|
||||
|
@ -189,6 +189,7 @@ class Resque
|
||||
'class' => $class,
|
||||
'args' => $args,
|
||||
'queue' => $queue,
|
||||
'token' => $result,
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user