![Symfony4.2: Try using dependency injection instead · Issue #1467 · FriendsOfSymfony/FOSElasticaBundle · GitHub Symfony4.2: Try using dependency injection instead · Issue #1467 · FriendsOfSymfony/FOSElasticaBundle · GitHub](https://user-images.githubusercontent.com/1620172/48115339-8beb5a00-e29d-11e8-865a-94c4030ac601.png)
Symfony4.2: Try using dependency injection instead · Issue #1467 · FriendsOfSymfony/FOSElasticaBundle · GitHub
![php - Symfony Functional Testing - How to mock controller injected service with request(submit) - Stack Overflow php - Symfony Functional Testing - How to mock controller injected service with request(submit) - Stack Overflow](https://i.stack.imgur.com/KUfQP.png)
php - Symfony Functional Testing - How to mock controller injected service with request(submit) - Stack Overflow
![elasticsearch - Automatic service loading inside Controller using FOSElasticaBundle and Symfony 3.3 - Stack Overflow elasticsearch - Automatic service loading inside Controller using FOSElasticaBundle and Symfony 3.3 - Stack Overflow](https://i.stack.imgur.com/v3iAf.png)
elasticsearch - Automatic service loading inside Controller using FOSElasticaBundle and Symfony 3.3 - Stack Overflow
SF4RC] Controller not registered in container if values passed in constructor · Issue #25192 · symfony/symfony · GitHub
![symfony - Controller has required constructor arguments and does not exist in the container. Did you forget to define the controller as a service? - Stack Overflow symfony - Controller has required constructor arguments and does not exist in the container. Did you forget to define the controller as a service? - Stack Overflow](https://i.stack.imgur.com/tzDUk.png)
symfony - Controller has required constructor arguments and does not exist in the container. Did you forget to define the controller as a service? - Stack Overflow
![elasticsearch - Automatic service loading inside Controller using FOSElasticaBundle and Symfony 3.3 - Stack Overflow elasticsearch - Automatic service loading inside Controller using FOSElasticaBundle and Symfony 3.3 - Stack Overflow](https://i.stack.imgur.com/uYOQr.png)
elasticsearch - Automatic service loading inside Controller using FOSElasticaBundle and Symfony 3.3 - Stack Overflow
![symfony - How to get autocompletion for container using phpstorm and symfony2 plugin? - Stack Overflow symfony - How to get autocompletion for container using phpstorm and symfony2 plugin? - Stack Overflow](https://i.stack.imgur.com/a1PaL.png)