File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ The following example shows how to inject an anonymous service into another serv
168
168
169
169
.. code-block :: yaml
170
170
171
- # app/ config/services.yaml
171
+ # config/services.yaml
172
172
services :
173
173
App\Foo :
174
174
arguments :
@@ -177,7 +177,7 @@ The following example shows how to inject an anonymous service into another serv
177
177
178
178
.. code-block :: xml
179
179
180
- <!-- app/ config/services.xml -->
180
+ <!-- config/services.xml -->
181
181
<?xml version =" 1.0" encoding =" UTF-8" ?>
182
182
<container xmlns =" http://symfony.com/schema/dic/services"
183
183
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -199,14 +199,14 @@ Using an anonymous service as a factory looks like this:
199
199
200
200
.. code-block :: yaml
201
201
202
- # app/ config/services.yaml
202
+ # config/services.yaml
203
203
services :
204
204
App\Foo :
205
205
factory : [ !service { class: App\FooFactory }, 'constructFoo' ]
206
206
207
207
.. code-block :: xml
208
208
209
- <!-- app/ config/services.xml -->
209
+ <!-- config/services.xml -->
210
210
<?xml version =" 1.0" encoding =" UTF-8" ?>
211
211
<container xmlns =" http://symfony.com/schema/dic/services"
212
212
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
You can’t perform that action at this time.
0 commit comments