Getting dependencies into ZF2 Controllers
Do your controllers need other object instances to do their work? Well, how do you get your hands on those dependencies inside your controllers? Forget new Xyz() – that’s a road to hell. There is a better way in ZF2….