1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:44:03 +00:00

Move UUID generator to a new namespace

This commit is contained in:
Samuel Štancl 2019-09-30 17:12:34 +02:00
parent d0b1729258
commit 60a67bf901
2 changed files with 2 additions and 2 deletions

View file

@ -1,15 +0,0 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy;
use Stancl\Tenancy\Contracts\UniqueIdentifierGenerator;
class UUIDGenerator implements UniqueIdentifierGenerator
{
public static function generate(array $domains, array $data = []): string
{
return (string) \Webpatser\Uuid\Uuid::generate(1, $domains[0] ?? '');
}
}