Answer the question
In order to leave comments, you need to log in
Where does symfony DI collect all dependencies?
Hello everyone, just wanted to clarify. Where does symfony DI collect all dependencies?
And through what (which component) does it pass dependencies into methods, properties or a constructor?
For example controller
public function actionIndex(Request $r){
Переменная $r переданная через аргумент метода в контроллере
уже содержит в себе текущий инстанс Request
}
Answer the question
In order to leave comments, you need to log in
Hello everyone, just wanted to clarify. Where does symfony DI collect all dependencies?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question