Debian Codegraph @

vendor/ramsey/uuid/src/Nonstandard/Uuid.php

raw
1 <?php
2
3 /**
4 * This file is part of the ramsey/uuid library
5 *
6 * For the full copyright and license information, please view the LICENSE
7 * file that was distributed with this source code.
8 *
9 * @copyright Copyright (c) Ben Ramsey <[email protected]>
10 * @license http://opensource.org/licenses/MIT MIT
11 */
12
13 declare(strict_types=1);
14
15 namespace Ramsey\Uuid\Nonstandard;
16
17 use Ramsey\Uuid\Codec\CodecInterface;
18 use Ramsey\Uuid\Converter\NumberConverterInterface;
19 use Ramsey\Uuid\Converter\TimeConverterInterface;
20 use Ramsey\Uuid\Uuid as BaseUuid;
21
22 /**
23 * Nonstandard\Uuid is a UUID that doesn't conform to RFC 9562 (formerly RFC 4122)
24 *
25 * @immutable
26 * @pure
27 */
28 final class Uuid extends BaseUuid
29 {
30 public function __construct(
31 Fields $fields,
32 NumberConverterInterface $numberConverter,
33 CodecInterface $codec,
34 TimeConverterInterface $timeConverter,
35 ) {
36 parent::__construct($fields, $numberConverter, $codec, $timeConverter);
37 }
38 }