In software engineering, inversion of control is a programming principle. IoC inverts the flow of control as compared to traditional control flow. In IoC, custom-written portions of a computer program receive the flow of control from a generic framework.
What does an IoC container do?
IoC Container (a.k.a. DI Container) is a framework for implementing automatic dependency injection. ... The IoC container creates an object of the specified class and also injects all the dependency objects through a constructor, a property or a method at run time and disposes it at the appropriate time.
What does IoC container mean?
IoC stands for Inversion of Control, I don't want to complicate things with a full description, there are many online articles which will cover the nerdier side of this topic. Instead think of the container as 'Inverting the Control' or 'Handing control back to Laravel' to resolve our objects.