Skip to content

Commit 8dc9fd3

Browse files
committed
fix(wording): fix on advantages
1 parent 2874954 commit 8dc9fd3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

service_container/injection_types.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,6 @@ so, what are the advantages?
187187
* You can easily change the injected service as long as it respect the interface/type
188188
asked by the initial service.
189189

190-
* It allow you to get rid of factory usages which can lead a more complex code
191-
192-
* As the dependency is optional, you can easily decide to receive the service
193-
without using the "with" method.
194-
195-
* As the method automatically receive and set the attribute value,
196-
you couldn't obtain the newly created service without this dependency.
197-
198190
The disadvantages are:
199191

200192
* As the ``@return static`` docblock is required by the container to

0 commit comments

Comments
 (0)