Skip to content

Commit 461c53a

Browse files
matt9mgxabbuh
authored andcommitted
Update YAML service
Use the new service container configuration in the yaml example
1 parent 218d588 commit 461c53a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

event_dispatcher.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ using a special "tag":
7777
7878
# app/config/services.yml
7979
services:
80-
app.exception_listener:
81-
class: AppBundle\EventListener\ExceptionListener
80+
AppBundle\EventListener\ExceptionListener:
8281
tags:
8382
- { name: kernel.event_listener, event: kernel.exception }
8483

0 commit comments

Comments
 (0)