Skip to content

Commit fc2e5f4

Browse files
authored
Update alias_private.rst
1 parent 62e154d commit fc2e5f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

service_container/alias_private.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The following example shows how to inject an anonymous service into another serv
168168

169169
.. code-block:: yaml
170170
171-
# app/config/services.yaml
171+
# config/services.yaml
172172
services:
173173
App\Foo:
174174
arguments:
@@ -177,7 +177,7 @@ The following example shows how to inject an anonymous service into another serv
177177
178178
.. code-block:: xml
179179
180-
<!-- app/config/services.xml -->
180+
<!-- config/services.xml -->
181181
<?xml version="1.0" encoding="UTF-8" ?>
182182
<container xmlns="http://symfony.com/schema/dic/services"
183183
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -199,14 +199,14 @@ Using an anonymous service as a factory looks like this:
199199

200200
.. code-block:: yaml
201201
202-
# app/config/services.yaml
202+
# config/services.yaml
203203
services:
204204
App\Foo:
205205
factory: [ !service { class: App\FooFactory }, 'constructFoo' ]
206206
207207
.. code-block:: xml
208208
209-
<!-- app/config/services.xml -->
209+
<!-- config/services.xml -->
210210
<?xml version="1.0" encoding="UTF-8" ?>
211211
<container xmlns="http://symfony.com/schema/dic/services"
212212
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)