Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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

@bendavies
Copy link

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()

@rodnaph
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants