2
I was studying Design Patterns and I got a question: The concept Composition (OOP), inflicts on the standard "Dependency Injection"?
2
I was studying Design Patterns and I got a question: The concept Composition (OOP), inflicts on the standard "Dependency Injection"?
Browser other questions tagged php pattern-design
You are not signed in. Login or sign up in order to post.
Is there anything specific you want to know? Is there an example? It could be yes, it might not. It depends on how you use it.
– Maniero
No, actually it was a doubt that came to me during my studies
– Douglas Laiber
PHP is one of the most flexible languages, it is allowed to do Dependency Injection.
– vitor_gaudencio_oliveira
Can you explain what you mean by "inflicts on the pattern"?
– bfavaretto
Maybe it’ll help, What are the differences between Dependency Injection and Control Inversion?
– rray