File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ to be *not* public (i.e. private):
5353 $definition->setPublic(false);
5454 $container->setDefinition('foo', $definition);
5555
56- What makes private services special is that they are converted from services
57- to inlined instantiations (e.g. ``new PrivateThing() ``) if they are only
58- injected once. This increases the container's performance.
56+ What makes private services special is that, if they are only injected once,
57+ they are converted from services to inlined instantiations (e.g. ``new PrivateThing() ``).
58+ This increases the container's performance.
5959
6060Now that the service is private, you *should not * fetch the service directly
6161from the container::
You can’t perform that action at this time.
0 commit comments