diff --git a/src/Support/GeneratorFactory.php b/src/Support/GeneratorFactory.php index ba14286..6c6a673 100644 --- a/src/Support/GeneratorFactory.php +++ b/src/Support/GeneratorFactory.php @@ -8,6 +8,7 @@ use Rawilk\HumanKeys\Exceptions\InvalidGenerator; use Rawilk\HumanKeys\Generators\KsuidGenerator; use Rawilk\HumanKeys\Generators\SnowflakeGenerator; +use Rawilk\HumanKeys\Generators\UuidGenerator; class GeneratorFactory { @@ -29,6 +30,7 @@ public function generator(): Generator return match ($this->generator) { 'ksuid' => new KsuidGenerator, 'snowflake' => new SnowflakeGenerator, + 'uuid' => new UuidGenerator, default => throw InvalidGenerator::invalid($this->generator), }; }