Issues

ZF2-512: InputFilter cannot be serialized

Description

Both ValidatorChain and InputFilterChain have references to ServiceManager, which in turn registers Traits. For this reason chains cannot be serialized, and as a result InputFilter cannot be serialized.

According to my tests, cached (and serialized) InputFilter adds 10X performance improvement compared to InputFilter that is initialized from the scratch.

Comments

Pull request coming soon, the fix is dead simple.

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2548