DegradedUuidBuilder
in package
implements
UuidBuilderInterface
DegradedUuidBuilder builds instances of DegradedUuid
Interfaces, Classes and Traits
- UuidBuilderInterface
- UuidBuilderInterface builds instances UuidInterface
Table of Contents
- $converter : NumberConverterInterface
- __construct() : mixed
- Constructs the DegradedUuidBuilder
- build() : DegradedUuid
- Builds a DegradedUuid
Properties
$converter
private
NumberConverterInterface
$converter
Methods
__construct()
Constructs the DegradedUuidBuilder
public
__construct(NumberConverterInterface $converter) : mixed
Parameters
- $converter : NumberConverterInterface
-
The number converter to use when constructing the DegradedUuid
Return values
mixed —build()
Builds a DegradedUuid
public
build(CodecInterface $codec, array<string|int, mixed> $fields) : DegradedUuid
Parameters
- $codec : CodecInterface
-
The codec to use for building this DegradedUuid
- $fields : array<string|int, mixed>
-
An array of fields from which to construct the DegradedUuid; see UuidInterface::getFieldsHex() for array structure.