event-dispatcher
event-dispatcher copied to clipboard
Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
Attribute\AsEventListener is an 8.0 file. It is barfing in my project dependencies for 7.4. Downgraded it to 7.4 compatible code.
Attribute\AsEventListener is an 8.0 file. It is barfing in my project dependencies for 7.4. Downgraded it to 7.4 compatible code.
By removing the check if $listeners has any listeners, we could reliably extend the protected callListeners(). This would open the door for implementing the PSR-14 Psr\EventDispatcher\ListenerProviderInterface.
getSubscribedEvents() might add "array" as a native return type declaration