atk4 / data

Data Access PHP Framework for SQL & high-latency databases
https://atk4-data.readthedocs.io
MIT License
273 stars 46 forks source link

Allow Model::isset/getPersistence() calls on model only #1088

Closed mvorisek closed 1 year ago

mvorisek commented 1 year ago

Currently Model is tightly coupled with one persistence.

persistence getters on entity are not wanted and $this->_persistence in $entity->getPersistence() was fetched using __get