B
B
BonBon Slick2017-03-26 22:25:20
Design patterns
BonBon Slick, 2017-03-26 22:25:20

What is Laravel IoC?

Here is the site: https://lonetraceur.gitbooks.io/laravel-learning/c...
If I understand correctly, then Laravel IoC is built on Dependency Injection, because before creating the class, we already injected / bound everything, through conditional " buffer" containing everything needed for the class.
Did I understand the illustrations correctly or did I miss something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2017-03-27
@BonBonSlick

IoC (Inversion of Control) is a principle/approach/concept.
DI (Dependency Injection) is a pattern that implements IoC.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question