mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
17 lines
327 B
PHP
17 lines
327 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Contracts;
|
|
|
|
interface UniqueIdentifierGenerator
|
|
{
|
|
/**
|
|
* Generate a unique identifier.
|
|
*
|
|
* @param string[] $domains
|
|
* @param array $data
|
|
* @return string
|
|
*/
|
|
public static function handle(array $domains, array $data = []): string;
|
|
}
|