Christian Flothmann
0b381dbe1d
improve error messages in the event dispatcher
2019-06-27 08:42:14 +02:00
Fabien Potencier
9526988eca
fixed CS
2019-06-13 13:03:18 +02:00
Robin Chalas
38cad41a0a
[EventDispatcher] Fix interface name used in error messages
2019-05-14 15:44:14 +02:00
Jonas Elfering
bdeeae1510
Fix the interface incompatibility of EventDispatchers
...
The `LegacyEventDispatcherProxy` now implements the full
`EventDispatcherInterface` from the `EventDispatcherBundle`.
Before it just implemented the Interface from the `Contracts` Bundle,
that made it incompatible with the `WrappedListener`.
This fixes #31457 .
2019-05-10 10:17:32 +02:00
Nicolas Grekas
a4ce08ec30
[Contracts][EventDispatcher] move the Event class to symfony/contracts
2019-03-29 19:47:03 +01:00
Nicolas Grekas
3c3db2f14a
[Contracts][EventDispatcher] add EventDispatcherInterface to symfony/contracts and use it where possible
2019-03-25 18:18:00 +01:00
Nicolas Grekas
75369dabb8
[EventDispatcher] swap arguments of dispatch() to allow registering events by FQCN
2019-03-14 08:32:46 +01:00