Login
Remember
Register
Ask a Question
Explain dependency injection and their types.
0
votes
asked
Oct 22, 2023
in
Laravel
by
john ganales
Explain dependency injection and their types.
dependencyinjection
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 22, 2023
by
john ganales
It is a technique in which one object is dependent on another object. There are three types of dependency injection: 1) Constructor injection, 2) setter injection, and 3) interface injection.
...