Skip to content

Commit b9e15b8

Browse files
authored
Update service_container/factories.rst
1 parent 06bda38 commit b9e15b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service_container/factories.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ create its object:
102102
Using the Class as Factory Itself
103103
---------------------------------
104104

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.
105+
When the static factory method is on the same class as the created instance,
106+
the class name can be omitted from the factory declaration.
106107
Let's suppose the ``NewsletterManager`` class has a ``create()`` method that needs
107108
to be called to create the object and need a send email address::
108109

0 commit comments

Comments
 (0)