Top "Symfony-3.3" questions

This is the Symfony 3.3.x specific tag.

Is there a way to inject EntityManager into a service

While using Symfony 3.3, I am declaring a service like this: class TheService implements ContainerAwareInterface { use ContainerAwareTrait; ... } Inside each action where …

symfony symfony-3.3
Argument 1 passed to Symfony\Component\Form\FormRenderer::renderBlock() must be an instance of ...\FormView, instance of ...\Form given

Whole error is missiong namespace Symfony\Component\Form which is replaced with 3 dots, due to title maximum characters. So, I …

php forms symfony symfony-forms symfony-3.3
Symfony 3.3 injecting repositories into services

I have a bundle which is held in a private Satis repository as its entities and repositories are shared between …

symfony dependency-injection doctrine symfony-3.3