This post is marked as solved. If you think the information contained on this thread must be part of the
official documentation, please contribute submitting a
pull request to its repository.
How to know the table name from the Model instance?
$model = new MyModel();
Use the getSource() method. More info and methods from https://docs.phalcon.io/en/3.0.1/api/Phalcon_Mvc_Model.html.
getSource get the table name while setSource set it.