in the application config ,i have a route its type is 'Zend\Mvc\Router\Http\Chain', this type need a parameter 'route_plugins', so i new it in the application config.
but in the \Zend\Mvc\Router\RoutePluginManager, the initializer propery store some closures. so when the application config is serialized, the error happend.
i think we need a method named makeObjectProperySerializable in the class Collector\ConfigCollector
Originally posted by @h3110w0r1d at zendframework/zend-developer-tools#153