芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/symfony/ModelNotFoundException.php
*/ protected $model; /** * The affected model IDs. * * @var array
*/ protected $ids; /** * Set the affected Eloquent model and instance ids. * * @param class-string
$model * @param array
|int|string $ids * @return $this */ public function setModel($model, $ids = []) { $this->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 Eloquent model. * * @return class-string
*/ public function getModel() { return $this->model; } /** * Get the affected Eloquent model IDs. * * @return array
*/ public function getIds() { return $this->ids; } }