diff --git a/create_framework/dependency_injection.rst b/create_framework/dependency_injection.rst index b2b028f5ca2..0b2a16d226e 100644 --- a/create_framework/dependency_injection.rst +++ b/create_framework/dependency_injection.rst @@ -121,7 +121,7 @@ Create a new file to host the dependency injection container configuration:: ->setArguments(array('UTF-8')) ; $containerBuilder->register('listener.exception', HttpKernel\EventListener\ExceptionListener::class) - ->setArguments(array('Calendar\Controller\ErrorController::exceptionAction')) + ->setArguments(array('Calendar\Controller\ErrorController::exception')) ; $containerBuilder->register('dispatcher', EventDispatcher\EventDispatcher::class) ->addMethodCall('addSubscriber', array(new Reference('listener.router'))) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy