ModelNotFoundException
class ModelNotFoundException extends RecordsNotFoundException
Properties
| protected TModel> | $model | Name of the affected Eloquent model. |
|
| protected array<int, int|string> | $ids | The affected model IDs. |
Methods
setModel(string $model, array|int|string|UnitEnum $ids = [])
Set the affected Eloquent model and instance ids.
string
getModel()
Get the affected Eloquent model.
array
getIds()
Get the affected Eloquent model IDs.
Details
at line 38
ModelNotFoundException
setModel(string $model, array|int|string|UnitEnum $ids = [])
Set the affected Eloquent model and instance ids.
at line 59
string
getModel()
Get the affected Eloquent model.
at line 69
array
getIds()
Get the affected Eloquent model IDs.