File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,10 @@ class:
71
71
.. note ::
72
72
73
73
When creating a service through a factory, the value chosen for the ``class ``
74
- option has no actual effect since the final class only depends on the object
75
- returned by the factory. However, the configured class may be used by compiler
76
- passes and therefore should be set to a sensible value.
74
+ option has no effect on the resulting service, since the actual class name
75
+ only depends on the object returned by the factory. However, the configured
76
+ class may be used by compiler passes and therefore should be set to a
77
+ sensible value.
77
78
78
79
When you specify the class to use for the factory (via ``factory_class ``)
79
80
the method will be called statically. If the factory itself should be instantiated
You can’t perform that action at this time.
0 commit comments