We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef1a71 commit 0dfffffCopy full SHA for 0dfffff
cookbook/service_container/scopes.rst
@@ -169,6 +169,7 @@ marked as ``synchronized``:
169
);
170
$definition->setScope('client');
171
$definition->setSynchronized(true);
172
+ $definition->setSynthetic(true);
173
$container->setDefinition('client_configuration', $definition);
174
175
Now, if you inject this service using setter injection, there are no drawbacks
0 commit comments