Skip to content

Document making lazy controller services by overriding getSubscribedServices() #8872

Closed
@weaverryan

Description

@weaverryan

It's a bit more advanced, but for truly lazy services in a controller, you can override getSubscribedServices, call the parent method, and add your own services that you want added to the service locator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions