Skip to content

Commit 8c81e56

Browse files
committed
refactor(injection_types): refactoring on disadvantages
1 parent 577760f commit 8c81e56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/injection_types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ The disadvantages are:
204204
you can found that adding docblock for a single method isn't adapted or
205205
link your code to the container.
206206

207-
* As this approach force the container to create a new object
208-
once the method is called, you can found hard to debug and test your code.
207+
* Unless the service is declared lazy, it is incompatible with services
208+
that reference each other in what are called circular loops
209209

210210
Setter Injection
211211
----------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy