Delegator Factories in Zend Framework 2

1 · Marco Pivetta · March 15, 2014, 11 p.m.
Last year, I worked on a feature for ZF2 called "Delegator Service Factories" , which was included in Zend Framework 2.2.0. It seems to me that many ZF2 developers either don't fully understand the feature, or do not know it. This article analyzes the feature in depth and tries to explain what these do, and why you may need them. The Problem While working with Zend\ServiceManager, we often find ourselves in the need of overriding services ...