Be compatible with different EventDispatcher-Implementations

Be compatible with other EventDispatcher-Implementations e.g. Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher