atk4\data\Persistence::initPersistence PHP Method

initPersistence() protected method

Extend this method to enhance model to work with your persistence. Here you can define additional methods or store additional data. This method is executed before model's init().
protected initPersistence ( Model $m )
$m Model
    protected function initPersistence(Model $m)
    {
    }