In this episode, come get a quick introduction to a very powerful feature in Zend ServiceManager, called Delegator Factories.
Delegator Factories are:
pretty much, a wrapper around a real factory: it allows us to either replace the actual service with a
delegateor interact with an object produced by a factory before it is returned by the Zend\ServiceManager.
They’re a very powerful feature that Matthew Weier O’Phinney put me onto while I’ve been writing the new book Zend Expressive Essentials. I was stand-offish at first, but have been blown away by the power and flexibility that they offer.
If you’re keen to find out how to create powerful and flexible middleware pipelines, then grab a cup of your favourite beverage, have a listen to the episode, tweet me at @zfmastery with any questions, and check out the links below.
Tweet me at @zfmastery