Understand Dependency Injection (DI) terminology
masterWhen using VContainer, it is helpful to understand the following core concepts:
- DI Container: A central registry that holds all dependent references and performs auto-wiring.
- Composition Root: The specific location in your application where you configure and resolve dependencies.
- Auto-wiring: The process of automatically managing and injecting services into classes with minimal manual configuration.
- IoC (Inversion of Control): A design principle where the control flow responsibility is shifted to an entry point, allowing for better separation of concerns.