Skip to content

Dependency Injection inside service actions #97

Description

@rudy1976s

Is there same way to inject DI inside API Service actions ?
Actually the constructor allows only to parent $config.
It would be nice to have the possibility of getting the $container in some way to be able to inject services declared in service providers, or by autowire, since it is now available in cake.

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