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