RelationNotFoundException
extends RuntimeException
in package
Table of Contents
- $model : string
- The name of the affected Eloquent model.
- $relation : string
- The name of the relation.
- make() : static
- Create a new exception instance.
Properties
$model
The name of the affected Eloquent model.
public
string
$model
$relation
The name of the relation.
public
string
$relation
Methods
make()
Create a new exception instance.
public
static make(mixed $model, string $relation) : static
Parameters
- $model : mixed
- $relation : string