| 1 | <?php |
||
| 19 | class Uuid4 extends AbstractUuid implements UuidInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @param string|null $namespace |
||
| 23 | * @param string|null $name |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public static function create($namespace = null, $name = null) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Generates random bytes for use in version 4 UUIDs |
||
| 37 | * |
||
| 38 | * @param int $length |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | private static function generateBytes($length) |
||
| 51 | } |
||
| 52 |