Symfony Interview Questions and Answers
Question: Explain Dependency Injection in Symfony.Answer: Dependency Injection is a design pattern used in Symfony to achieve loose coupling and manage class dependencies. It involves injecting dependencies into a class rather than hardcoding them.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: