public function preDelete($event) { parent::preDelete($event); $this->nameBackup = $this->get('name'); }