Skip to content

Commit cd2abe8

Browse files
kenjispaulbalandan
andauthored
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
1 parent c01667d commit cd2abe8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/concepts/factories.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ make sure the correct configuration is loaded when using the ``Config`` class.
2727
Differences from Services
2828
-------------------------
2929

30-
Factories require a concrete class name to instantiate, and do not have code to create instances.
30+
Factories require a concrete class name to instantiate and do not have code to create instances.
3131

32-
So Factories are not good for creating complex instance that needs many dependencies,
33-
and cannot change the class of the instance to be returned.
32+
So, Factories are not good for creating a complex instance that needs many dependencies,
33+
and you cannot change the class of the instance to be returned.
3434

3535
On the other hand, Services have code to create instances, so it can create a complex instance
3636
that needs other services or class instances. When you get a service, Services require a service name,

0 commit comments

Comments
 (0)