this can be simplified: ``$definition = $container->findDefinition('event_dispatcher'); ``