Hi everyone, I am using Phalcon's ORM quite intensively these days, and I have some problems with my properties. I create a model class, derivating from \Phalcon\Mvc\Model, all is working fine.
class Test extends \Phalcon\Mvc\Model {
// ...
private $myProperty;
}
But if I modify $myProperty on a particlar instance of Test, I lose its value in some function (especially during validation). Is there a special reason for this behaviour?
In the same way, if I have a ResultSet, I cannot iterate on it and modify $myProperty, since accessors (iterators-like) perform a copy of the object (no a clone). Is it "by design"?
Thanks! :)