mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:44:02 +00:00
15 lines
275 B
PHP
15 lines
275 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Contracts;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
interface UniqueIdentifierGenerator
|
|
{
|
|
/**
|
|
* Generate a unique identifier for a model.
|
|
*/
|
|
public static function generate(Model $model): string;
|
|
}
|