DegradedUuidBuilder
- Full name:
\Ramsey\Uuid\Builder\DegradedUuidBuilder
- Warning: this class is deprecated. This means that this class will likely be removed in a future version.
- This class implements:
\Ramsey\Uuid\Builder\UuidBuilderInterface
Properties
timeConverter
numberConverter
Methods
__construct
public __construct(\Ramsey\Uuid\Converter\NumberConverterInterface $numberConverter, \Ramsey\Uuid\Converter\TimeConverterInterface|null $timeConverter = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$numberConverter |
\Ramsey\Uuid\Converter\NumberConverterInterface | The number converter to use when constructing the DegradedUuid |
$timeConverter |
\Ramsey\Uuid\Converter\TimeConverterInterface|null | The time converter to use for converting timestamps extracted from a UUID to Unix timestamps |
build
Builds and returns a DegradedUuid
Parameters:
Parameter | Type | Description |
---|---|---|
$codec |
\Ramsey\Uuid\Codec\CodecInterface | The codec to use for building this DegradedUuid instance |
$bytes |
string | The byte string from which to construct a UUID |
Return Value:
The DegradedUuidBuild returns an instance of Ramsey\Uuid\DegradedUuid
Automatically generated on 2025-03-18