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:
|
Is it helpful?
Yes
No
Most helpful rated by users: