Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8c81e56

Browse filesBrowse files
committed
refactor(injection_types): refactoring on disadvantages
1 parent 577760f commit 8c81e56
Copy full SHA for 8c81e56

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎service_container/injection_types.rst

Copy file name to clipboardExpand all lines: service_container/injection_types.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.