We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Table inheritance

How can I realize Entity class inheritance in PhalconPHP like in Doctrine2? Does it possible, or I must store another tablename and recordId in separate columns?



3.4k

Are you talking about setting up relationships? Phalcon docs has some nice documentation on this: https://docs.phalcon.io/en/3.0.0/reference/model-relationships.html