Picture an order-list page. It has one job: print the orders on screen. I built a sample service graph and counted the constructors — seven objects were created during that single request, two were used. Five went straight to the bin untouched. A PHP autowiring container is both the cure and the accomplice here. It […]
PHP Autowiring Container: Dolls Inside Dolls