ModelIdentifier

class ModelIdentifier (View source)

Properties

string $class The class name of the model.
mixed $id The unique identifier of the model.

Methods

void __construct(string $class, mixed $id)

Create a new model identifier.

Details

void __construct(string $class, mixed $id)

Create a new model identifier.

Parameters

string $class
mixed $id

Return Value

void

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