Spec-Zone.ru › Laravel 8

ModelIdentifier

class ModelIdentifier (View source)

Properties

string $class

The class name of the model.

mixed $id

The unique identifier of the model.

array $relations

The relationships loaded on the model.

string|null $connection

The connection name of the model.

Methods

void __construct(string $class, mixed $id, array $relations, mixed $connection)

Create a new model identifier.

Details

void __construct(string $class, mixed $id, array $relations, mixed $connection)

Create a new model identifier.

Parameters

string $class
mixed $id
array $relations
mixed $connection

Return Value

void

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

Spec-Zone.ru

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