Ding
Ding copied to clipboard
proxy objects cant be cached
this is because php cant serialize static properties (the dispatcher is a static property and is set via a static method so we can set the dispatcher before constructing the object, thus allowing to aspect the constructor)
proxy should be refactored so it allows serialization.
in the meanwhile, the container wont cache proxied beans (only its definitions)
see #39
this is a little more complex than i thought initially. for instance, log4php wont get serialized. Also, when you cache singletons, what will happen when unserializing them?
this may help unserialize_callback_func directive