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``::
212
212
and the
213
213
:doc: `DependencyInjection component </components/dependency_injection/introduction >`,
214
214
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::
217
217
218
218
use Symfony\Component\DependencyInjection\ContainerBuilder;
219
219
use Symfony\Component\DependencyInjection\Definition;
220
220
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
221
221
use Symfony\Component\DependencyInjection\Reference;
222
- use Symfony\Component\HttpKernel \DependencyInjection\RegisterListenersPass;
222
+ use Symfony\Component\EventDispatcher \DependencyInjection\RegisterListenersPass;
223
223
224
224
$containerBuilder = new ContainerBuilder(new ParameterBag());
225
225
$containerBuilder->addCompilerPass(new RegisterListenersPass());
You can’t perform that action at this time.
0 commit comments