Phalcon\Mvc\Model serialization - object properties are lost

Guys,

I've described it here:

http://stackoverflow.com/questions/18984972/phalcon-mvc-model-serialization-object-properties-are-lost

Basically, non-DB object properties of a Model don't get serialized.

Thanks, Temuri



28.2k

It is a current behaviour of Phalcon model serializer.

A new NFR:

https://github.com/phalcon/cphalcon/issues/1285



81.8k

Note, that the current workaround is override the default serializer.