| 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 4122 |
| 24 |
* |
| 25 |
* @psalm-immutable |
| 26 |
*/ |
| 27 |
final class Uuid extends BaseUuid |
| 28 |
{ |
| 29 |
public function __construct( |
| 30 |
Fields $fields, |
| 31 |
NumberConverterInterface $numberConverter, |
| 32 |
CodecInterface $codec, |
| 33 |
TimeConverterInterface $timeConverter |
| 34 |
) { |
| 35 |
parent::__construct($fields, $numberConverter, $codec, $timeConverter); |
| 36 |
} |
| 37 |
} |
| 38 |
|