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
Posted by Juha Suni (zuhac) on 2012-08-31T07:03:10.000+0000
Pull request coming soon, the fix is dead simple.
Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:45.000+0000
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