Mana Coding
Interview
PHP Tutorial
Tutorials
💼
All Interviews
Interviews
Choose a language
View all
🌐
HTML
🎨
CSS
⚡
JavaScript
🐍
Python
☕
Java
💻
PHP
⚙
C
🧠
C++
🔷
C#
🗃️
SQL
☰ Questions
Home
›
Interview
›
Python
›
What is dependency injection?
Interview Question
What is dependency injection?
Short, clear answer + key notes. Use the sidebar to browse more questions.
💡 Concept
✅ Quick Revision
💻 PHP
Answer
Passing dependencies into classes/functions instead of creating them inside; improves testability.
←
Previous
What is OPCache?
Next
What is a middleware pattern?
→