class DegradedUuidBuilder implements UuidBuilderInterface (View source)

DegradedUuidBuilder builds instances of DegradedUuid

Methods

__construct(NumberConverterInterface $converter)

Constructs the DegradedUuidBuilder

build(CodecInterface $codec, array $fields)

Builds a DegradedUuid

Details

__construct(NumberConverterInterface $converter)

Constructs the DegradedUuidBuilder

Parameters

NumberConverterInterface $converter The number converter to use when constructing the DegradedUuid

UuidInterface build(CodecInterface $codec, array $fields)

Builds a DegradedUuid

Parameters

CodecInterface $codec The codec to use for building this UuidInterface instance
array $fields An array of fields from which to construct a UuidInterface instance; see {see \Ramsey\Uuid\UuidInterface::getFieldsHex()} for array structure.

Return Value

UuidInterface