File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/event_dispatcher Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,14 +212,14 @@ instance of ``Symfony\Component\HttpKernel\Event\FilterResponseEvent``::
212212 and the
213213 :doc: `DependencyInjection component </components/dependency_injection/introduction >`,
214214 you can use the
215- :class: `Symfony\\ Component\\ HttpKernel \\ DependencyInjection\\ RegisterListenersPass `
216- from the HttpKernel component to tag services as event listeners::
215+ :class: `Symfony\\ Component\\ EventDispatcher \\ DependencyInjection\\ RegisterListenersPass `
216+ from the EventDispatcher component to tag services as event listeners::
217217
218218 use Symfony\Component\DependencyInjection\ContainerBuilder;
219219 use Symfony\Component\DependencyInjection\Definition;
220220 use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
221221 use Symfony\Component\DependencyInjection\Reference;
222- use Symfony\Component\HttpKernel \DependencyInjection\RegisterListenersPass;
222+ use Symfony\Component\EventDispatcher \DependencyInjection\RegisterListenersPass;
223223
224224 $containerBuilder = new ContainerBuilder(new ParameterBag());
225225 $containerBuilder->addCompilerPass(new RegisterListenersPass());
You can’t perform that action at this time.
0 commit comments