0 votes
in Laravel by
Explain dependency injection and their types.

1 Answer

0 votes
by
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.
...