Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor dot-even #19

Closed
arhimede opened this issue Apr 15, 2024 · 1 comment · Fixed by #20
Closed

Refactor dot-even #19

arhimede opened this issue Apr 15, 2024 · 1 comment · Fixed by #20
Assignees

Comments

@arhimede
Copy link
Member

No description provided.

@pinclau
Copy link
Member

pinclau commented Apr 15, 2024

@alexmerlin
The current implementation of dot-event just extends a class from laminas-event-manager and didnt do much, and if you want to create some events you need go throug all laminas-event-manager implementation every time to create an event (see dot-mail event implementation) dot-mail
We want to create a fully wrapper around event-manager, so we can make use of dot-event to create events in a much easier way, like dot-controller events, when you register the events/listenters in the ConfgProvider and you can trigger them whenever you want.
So in this implementation, we whould register all the events under the dot-event config, and we could trigger them wherever we want (directly in a repository, or in a service for example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants