Documentation

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

Methods

make()

Create a new exception instance.

public static make(mixed $model, string $relation) : static
Parameters
$model : mixed
$relation : string
Return values
static

Search results