echo $user->lastLogin; // ERROR echo $user["lastLogin"]; // ERROR
I took a look inside symfony's code. As what i have understood, the behavoir of ArrayAccess ( $user[...] ) and properties ( $user->field ) doesn't "normalize" the field value. But i can't found where this "normalizations" takes place when using accessors/setters methods ($user->get... $user->set..), my skills stopped inside the __call method of Doctrine_Record (get/set methods seems implemented using some default template). -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using "remove me" as the subject.