Symfony logo

From the Symfony book: Dependency Injector Container

From the Symfony book: one key component of Symfony, the dependency injection container, is responsible for managing services: creating them and injecting them whenever needed. A service is a “global” object that provides features (e.g. a mailer, a logger, a slugger, etc.) unlike data objects (e.g. Doctrine entity instances).

https://symfony.com/doc/current/the-fast-track/en/13-lifecycle.html#configuring-a-service-in-the-container


Explore the Symfony universe each week


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *