ModelNotFoundException
extends RuntimeException
in package
Table of Contents
- $ids : int|array<string|int, mixed>
- The affected model IDs.
- $model : string
- Name of the affected Eloquent model.
- getIds() : int|array<string|int, mixed>
- Get the affected Eloquent model IDs.
- getModel() : string
- Get the affected Eloquent model.
- setModel() : $this
- Set the affected Eloquent model and instance ids.
Properties
$ids
The affected model IDs.
protected
int|array<string|int, mixed>
$ids
$model
Name of the affected Eloquent model.
protected
string
$model
Methods
getIds()
Get the affected Eloquent model IDs.
public
getIds() : int|array<string|int, mixed>
Return values
int|array<string|int, mixed> —getModel()
Get the affected Eloquent model.
public
getModel() : string
Return values
string —setModel()
Set the affected Eloquent model and instance ids.
public
setModel(string $model[, int|array<string|int, mixed> $ids = [] ]) : $this
Parameters
- $model : string
- $ids : int|array<string|int, mixed> = []