File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
cookbook/service_container Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ marked as ``synchronized``:
134
134
class : Acme\HelloBundle\Client\ClientConfiguration
135
135
scope : client
136
136
synchronized : true
137
+ synthetic : true
137
138
# ...
138
139
139
140
.. code-block :: xml
@@ -151,6 +152,7 @@ marked as ``synchronized``:
151
152
id =" client_configuration"
152
153
scope =" client"
153
154
synchronized =" true"
155
+ synthetic =" true"
154
156
class =" Acme\HelloBundle\Client\ClientConfiguration"
155
157
/>
156
158
</services >
@@ -196,9 +198,9 @@ and everything works without any special code in your service or in your definit
196
198
}
197
199
}
198
200
199
- Whenever the ``client `` scope is entered or left , the service container will
200
- automatically call the ``setClientConfiguration() `` method with the current
201
- ``client_configuration `` instance .
201
+ Whenever the ``client `` scope is active , the service container will
202
+ automatically call the ``setClientConfiguration() `` method when the
203
+ ``client_configuration `` service is set in the container .
202
204
203
205
You might have noticed that the ``setClientConfiguration() `` method accepts
204
206
``null `` as a valid value for the ``client_configuration `` argument. That's
You can’t perform that action at this time.
0 commit comments