Can I use a custom manager when using Zend_AMF?
I know that I can pass either the class name or the object for setClass () for Zend_AMF.
However, when I pass the setClass object, it does not seem to save a copy of this object. Instead, it processes the name of the class, and then instantiates the copy of the object itself.
This is a problem since I am using the yadif dependency injection container. Objects must be created using constructor dependencies and / or property dependencies.
Since the Zend_Amf dispatcher runs all instances, I cannot introduce constructor dependencies and other dependencies to my objects.
If anyone has a strategy on how I can overcome this without touching any code in Zend_AMF, that would be great :)
source share