Skip to content

Usage of SharedEventManager to use events like with laminas-mvc #92

@rarog

Description

@rarog

Feature Request

Q A
New Feature yes
RFC yes
BC Break no

Summary

Currently only events of ModuleManager are processed by laminas-cli, there is no built-in possibility to automatically attach listeners for console events.
Depending on the decision either 'listeners' from module.config.php could be reused or a new key like 'listeners-cli' could be introduced. This way it would be possible to define one console command and then trigger events where other modules could react to it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions