model = $model; $this->ids = Arr::wrap($ids); $this->message = "No query results for model [{$model}]"; if (count($this->ids) > 0) { $this->message .= ' ' . implode(', ', $this->ids); } else { $this->message .= '.'; } return $this; } /** * Get the affected Model model. */ public function getModel(): ?string { return $this->model; } /** * Get the affected Model model IDs. */ public function getIds(): array { return $this->ids; } }