Symfony Interview Questions and Answers
Question: Explain Symfony Services and Dependency Injection Container.Answer: Services in Symfony are PHP objects that perform specific tasks. The Dependency Injection Container (DIC) manages the instantiation and configuration of these services, promoting reusability and testability.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: