class ModelIdentifier (View source)

Properties

string $class

The class name of the model.

mixed $id

The unique identifier of the model.

string|null $connection

The connection name of the model.

Methods

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

Create a new model identifier.

Details

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

Create a new model identifier.

Parameters

string $class
mixed $id
mixed $connection

Return Value

void