We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c7d44 commit bcc3528Copy full SHA for bcc3528
components/security/firewall.rst
@@ -66,7 +66,7 @@ with the event dispatcher that is used by the :class:`Symfony\\Component\\HttpKe
66
67
$firewall = new Firewall($map, $dispatcher);
68
69
- $dispatcher->register(KernelEvents::REQUEST, array($firewall, 'onKernelRequest');
+ $dispatcher->addListener(KernelEvents::REQUEST, array($firewall, 'onKernelRequest');
70
71
The firewall is registered to listen to the ``kernel.request`` event that
72
will be dispatched by the ``HttpKernel`` at the beginning of each request
0 commit comments