Esempio n. 1
0
 /**
  * @inheritdoc
  */
 public function delete()
 {
     $this->status = static::STATUS_ACTIVE;
     return parent::softDelete();
 }
Esempio n. 2
0
 /**
  * @inheritdoc
  */
 public function delete()
 {
     $this->recordStatus = static::RECORDSTATUS_DELETED;
     return parent::softDelete();
 }