We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

\Phalcon\Validation\Message Phalocn 2.0

I'm migrating my project to Phalcon 2.0 and I have problem with \Phalcon\Validation\Message class. In Phalcon 2.0 this class doesn't have 'code' attribute - why? It was very usefull particularly when one validators has many possible messages

https://docs.phalcon.io/en/latest/api/Phalcon_Validation_Message.html



1.3k

you might need to extend it if you want to migrate smoothly