/** * Initialize persistence. * * @param Model $m */ protected function initPersistence(Model $m) { $m->addMethod('expr', $this); }