How to know the table name from the Model instance?
$model = new MyModel(); echo $model->getSource();
?
Use the getSource() method. More info and methods from https://docs.phalcon.io/en/3.0.1/api/Phalcon_Mvc_Model.html.
getSource()
https://docs.phalcon.io/en/3.0.1/api/Phalcon_Mvc_Model.html
getSource get the table name while setSource set it.