1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:14:02 +00:00
tenancy/src/Contracts/UniqueIdentifierGenerator.php
2019-09-05 19:25:32 +02:00

17 lines
324 B
PHP

<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Contracts;
interface UniqueIdentifierGenerator
{
/**
* Generate a unique identifier.
*
* @param string $domain
* @param array $data
* @return string
*/
public static function handle(string $domain, array $data = []): string;
}