Add NameGeneratorInterface and generators for v3 and v5 UUIDs

This commit is contained in:
Ben Ramsey
2020-02-08 13:12:20 -06:00
parent e5357f2c8a
commit 0bff9e8660
17 changed files with 525 additions and 8 deletions
@@ -12,7 +12,7 @@ class RandomGeneratorFactoryTest extends TestCase
{
public function testFactoryReturnsRandomBytesGenerator(): void
{
$generator = RandomGeneratorFactory::getGenerator();
$generator = (new RandomGeneratorFactory)->getGenerator();
$this->assertInstanceOf(RandomBytesGenerator::class, $generator);
}