Skip to content

Commit 477da91

Browse files
committed
Minor rewording
1 parent 27ca372 commit 477da91

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/dependency_injection/factories.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ class:
7171
.. note::
7272

7373
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.
7778

7879
When you specify the class to use for the factory (via ``factory_class``)
7980
the method will be called statically. If the factory itself should be instantiated

0 commit comments

Comments
 (0)