class ModelIdentifier (View source)
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. |
void | __construct(string $class, mixed $id, array $relations, mixed $connection) Create a new model identifier. |
Create a new model identifier.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Contracts/Database/ModelIdentifier.html