Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[RFC] DIC support #66

Description

@robertpustulka

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions