Add more capability with EventDispatcher::doDispatch method

Add more capability with \Symfony\Component\EventDispatcher\EventDispatcher::doDispatch method