From 60a67bf901119730f5d1b802183b6e578ea74b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 30 Sep 2019 17:12:34 +0200 Subject: [PATCH] Move UUID generator to a new namespace --- assets/config.php | 2 +- src/{ => UniqueIDGenerators}/UUIDGenerator.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{ => UniqueIDGenerators}/UUIDGenerator.php (87%) diff --git a/assets/config.php b/assets/config.php index f7939b78..e4985573 100644 --- a/assets/config.php +++ b/assets/config.php @@ -91,5 +91,5 @@ return [ 'delete_database_after_tenant_deletion' => false, // delete the tenant's database after deleting the tenant 'queue_database_creation' => false, 'queue_database_deletion' => false, - 'unique_id_generator' => Stancl\Tenancy\UUIDGenerator::class, + 'unique_id_generator' => Stancl\Tenancy\UniqueIDGenerators\UUIDGenerator::class, ]; diff --git a/src/UUIDGenerator.php b/src/UniqueIDGenerators/UUIDGenerator.php similarity index 87% rename from src/UUIDGenerator.php rename to src/UniqueIDGenerators/UUIDGenerator.php index 7497c78a..1a677b0f 100644 --- a/src/UUIDGenerator.php +++ b/src/UniqueIDGenerators/UUIDGenerator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Stancl\Tenancy; +namespace Stancl\Tenancy\UniqueIDGenerators; use Stancl\Tenancy\Contracts\UniqueIdentifierGenerator;