Spec-Zone.ru › Laravel 7

RelationNotFoundException

class RelationNotFoundException extends RuntimeException (View source)

Properties

string $model

The name of the affected Eloquent model.

string $relation

The name of the relation.

Methods

static RelationNotFoundException make(object $model, string $relation)

Create a new exception instance.

Details

static RelationNotFoundException make(object $model, string $relation)

Create a new exception instance.

Parameters

object $model
string $relation

Return Value

RelationNotFoundException

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Database/Eloquent/RelationNotFoundException.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API