inject the container in the controllers, and call $container->get(...) This is bad, see the rule n°1. inject dependencies in the constructor (controller as a ...
確定! 回上一頁