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