From 876d572207db035bf304133c5d5b88f5aa3ca03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Holeczy?= Date: Fri, 5 Jan 2018 17:26:16 +0100 Subject: [PATCH] Fix YAML config bug Should be merged into all version branches --- event_dispatcher.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event_dispatcher.rst b/event_dispatcher.rst index f405e4f0e29..b583ada21f5 100644 --- a/event_dispatcher.rst +++ b/event_dispatcher.rst @@ -77,7 +77,8 @@ using a special "tag": # app/config/services.yml services: - AppBundle\EventListener\ExceptionListener: + app.exception_listener: + class: AppBundle\EventListener\ExceptionListener: tags: - { name: kernel.event_listener, event: kernel.exception }