Are there any plans for adding DIC support? I would love to be able to get the queue JobInterface instances from a container. My jobs have a few dependencies that need to be pulled from a DIC. Now I'm using a workaround with a global DIC locator, but that's not ideal of course.
I'm not very familiar with the plugin internals yet, but it seems that the job is build in a Message class and returned as a callable so the Message should have access to the container instance somehow (from a Processor instance?)
I'd be happy to work on a PR, but need some direction on how to approach this.
Are there any plans for adding DIC support? I would love to be able to get the queue JobInterface instances from a container. My jobs have a few dependencies that need to be pulled from a DIC. Now I'm using a workaround with a global DIC locator, but that's not ideal of course.
I'm not very familiar with the plugin internals yet, but it seems that the job is build in a Message class and returned as a callable so the Message should have access to the container instance somehow (from a Processor instance?)
I'd be happy to work on a PR, but need some direction on how to approach this.