From 82dbad24f5917b2d9722a1348d8a5fc8657e3387 Mon Sep 17 00:00:00 2001 From: Matthew Thomas Date: Thu, 26 Oct 2017 10:45:57 +0100 Subject: [PATCH] Update YAML service Use the new service container configuration in the yaml example --- event_dispatcher.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/event_dispatcher.rst b/event_dispatcher.rst index a12f7e00125..b21f34f1a54 100644 --- a/event_dispatcher.rst +++ b/event_dispatcher.rst @@ -77,8 +77,7 @@ using a special "tag": # app/config/services.yml services: - app.exception_listener: - class: AppBundle\EventListener\ExceptionListener + AppBundle\EventListener\ExceptionListener: tags: - { name: kernel.event_listener, event: kernel.exception }