public function onlyTrashed() { $this->withTrashed(); $this->query->whereNotNull($this->model->getQualifiedDeletedAtColumn()); return $this; }