We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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