mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Add ircmaxell-RandomLib to the dev dependencies
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"moontoast/math": "~1.1",
|
||||
"ircmaxell/random-lib": "~1.0",
|
||||
"symfony/console": "~2.3",
|
||||
"doctrine/dbal": ">=2.3",
|
||||
"phpunit/phpunit": "~4.1",
|
||||
@@ -33,6 +34,7 @@
|
||||
"bin": ["bin/uuid"],
|
||||
"suggest": {
|
||||
"moontoast/math": "Support for converting UUID to 128-bit integer (in string form).",
|
||||
"ircmaxell/random-lib": "Provides RandomLib to use with the RandomLibAdapter",
|
||||
"symfony/console": "Support for use of the bin/uuid command line tool.",
|
||||
"doctrine/dbal": "Allow the use of a UUID as doctrine field type."
|
||||
},
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Rhumsaa\Uuid;
|
||||
namespace Rhumsaa\Uuid\Generator;
|
||||
|
||||
use RandomLib\Generator;
|
||||
use RandomLib\Factory;
|
||||
use Rhumsaa\Uuid\RandomGenerator;
|
||||
|
||||
class RandomLibAdapter implements RandomGenerator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user