Add the queue to the JobQueued event #39279
Unanswered
murphatron
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, there does not appear to be a reliable way to retrieve the queue from the JobQueued event. The only properties in scope are
$connectionName
,$id
, and$job
. This event is dispatched in theIlluminate\Queue\Queue@enqueueUsing
method which already has scope to the$queue
variable.Beta Was this translation helpful? Give feedback.
All reactions