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