# 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.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
src | Folder | 0755 |
|
|
LICENSE | File | 1.04 KB | 0644 |
|
README.md | File | 840 B | 0644 |
|
UPGRADE.md | File | 612 B | 0644 |
|
composer.json | File | 1.69 KB | 0644 |
|
phpstan.neon.dist | File | 56 B | 0644 |
|
psalm.xml | File | 444 B | 0644 |
|