File tree Expand file tree Collapse file tree
user_guide_src/source/concepts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ make sure the correct configuration is loaded when using the ``Config`` class.
2727Differences 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
3535On the other hand, Services have code to create instances, so it can create a complex instance
3636that needs other services or class instances. When you get a service, Services require a service name,
You can’t perform that action at this time.
0 commit comments