Episode 44 - What Are Delegator Factories and Why You Should Use Them

Published: June 28, 2018, 6:51 p.m.

Ever wanted to dynamically add functionality to services you retrieve from your DI container — without creating custom versions or long inheritance hierarchies? Do you want to do it in a simple, clear, and well structured way? If so, then tune into this episode and learn about delegator factories. They're an advanced and very powerful technique for handling just this situation. Grab a cup of your favourite beverage, have a listen to the episode and find out more about them. As always, tweet me at @zfmastery (https://twitter.com/zfmastery) with any questions and input. Links What Are Delegator Factories and Why You Should Use Them (https://masterzendframework.com/what-are-delegator-factories/) Delegator Factories (ZF Documentation) (https://docs.zendframework.com/zend-expressive/v3/features/container/delegator-factories/) Delegator Factories (Ocramius’ blog) (https://ocramius.github.io/blog/zend-framework-2-delegator-factories-explained/) Zend Expressive Essentials (https://masterzendframework.com/zend-expressive-essentials/) Questions/Comments/Suggestions Tweet me at @zfmastery (https://twitter.com/zfmastery)