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
+1 -1
View File
@@ -23,7 +23,7 @@ class RandomGeneratorFactory
/**
* Returns a default random generator, based on the current environment
*/
public static function getGenerator(): RandomGeneratorInterface
public function getGenerator(): RandomGeneratorInterface
{
return new RandomBytesGenerator();
}