ModelIdentifier
in package
Table of Contents
- $class : string
- The class name of the model.
- $connection : string|null
- The connection name of the model.
- $id : mixed
- The unique identifier of the model.
- __construct() : void
- Create a new model identifier.
Properties
$class
The class name of the model.
public
string
$class
$connection
The connection name of the model.
public
string|null
$connection
$id
The unique identifier of the model.
public
mixed
$id
This may be either a single ID or an array of IDs.
Methods
__construct()
Create a new model identifier.
public
__construct(string $class, mixed $id, mixed $connection) : void
Parameters
- $class : string
- $id : mixed
- $connection : mixed