public function restore() { if ($this->model->isSoftDeleting()) { $column = $this->model->getDeletedAtColumn(); return $this->update(array($column => null)); } }