Files
kulakpos_web/vendor/doctrine/event-manager/UPGRADE.md
eko54r b5e3a778ce
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
allow vendord
2026-03-30 14:54:57 +07:00

612 B

Upgrade to 2.0

Made the $event parameter of EventManager::getListeners() mandatory

When calling EventManager::getListeners() you need to specify the event that you want to fetch the listeners for. Call getAllListeners() instead if you want to access the listeners of all events.

Upgrade to 1.2

Deprecated calling EventManager::getListeners() without an event name

When calling EventManager::getListeners() without an event name, all listeners were returned, keyed by event name. A new method getAllListeners() has been added to provide this functionality. It should be used instead.