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 7e78509 commit 29ffcedCopy full SHA for 29ffced
service_container/factories.rst
@@ -99,6 +99,8 @@ create its object:
99
only depends on the object that is returned by the factory. However,
100
the configured class name may be used by compiler passes and therefore
101
should be set to a sensible value.
102
+Using the Class as Factory Itself
103
+---------------------------------
104
105
When the static factory method is on the same class as the created instance, the class name can be omitted from the factory declaration.
106
of the class itself.
0 commit comments