Skip to content

Commit 36b1d10

Browse files
committed
Fixed the name of the services file
1 parent a444951 commit 36b1d10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/event_dispatcher/event_listener.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ is an event subscriber:
164164

165165
.. code-block:: yaml
166166
167-
# app/config/config.yml
167+
# app/config/services.yml
168168
services:
169169
app.exception_subscriber:
170170
class: AppBundle\Subscriber\ExceptionSubscriber
@@ -173,7 +173,7 @@ is an event subscriber:
173173
174174
.. code-block:: xml
175175
176-
<!-- app/config/config.xml -->
176+
<!-- app/config/services.xml -->
177177
<?xml version="1.0" encoding="UTF-8" ?>
178178
<container xmlns="http://symfony.com/schema/dic/services">
179179
@@ -189,7 +189,7 @@ is an event subscriber:
189189
190190
.. code-block:: php
191191
192-
// app/config/config.php
192+
// app/config/services.php
193193
$container
194194
->register(
195195
'app.exception_subscriber',

0 commit comments

Comments
 (0)