if I do serialize($obj), I get:
serialize($obj)
Serialization of \'Closure\' is not allowed
Is there any way these closures can be
I've written a function that allows any Exception to be serialized. This is done by flattening complex values in the backtrace.
Exception
https://gist.github.com/Thinkscape/805ba8b91cdce6bcaf7c
getTraceAsString()); }