Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Upon unserialization from session scope, objects should be re-injected #2

Open
bendavies opened this Issue Oct 18, 2011 · 1 comment

Comments

Projects
None yet
2 participants

Upon unserialization from session scope, objects should be re-injected to populate no serializeable objects that may have been unset using __sleep or the overridden serialize()

Contributor

rodnaph commented Oct 18, 2011

This isn't entirely straight-forward as some dependencies may have been serialized with the object in the session. So when fetching back from the session we only want to re-inject any dependencies that have not been serialised.

At the moment the injector doesn't provide this fine a control over injecting individual properties or methods, so there will need to be some refactoring around there to make this possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment