Documentation

DefaultUuidBuilder extends UuidBuilder
in package

UuidBuilder builds instances of RFC 4122 UUIDs

Tags
deprecated

Transition to UuidBuilder.

psalm-immutable

Table of Contents

$numberConverter  : NumberConverterInterface
$timeConverter  : TimeConverterInterface
__construct()  : mixed
Constructs the DefaultUuidBuilder
build()  : UuidInterface
Builds and returns a Uuid
buildFields()  : FieldsInterface
Proxy method to allow injecting a mock, for testing

Properties

Methods

build()

Builds and returns a Uuid

public build(CodecInterface $codec, string $bytes) : UuidInterface
Parameters
$codec : CodecInterface

The codec to use for building this Uuid instance

$bytes : string

The byte string from which to construct a UUID

Tags
psalm-pure
Return values
UuidInterface

UuidBuilder returns instances of Rfc4122UuidInterface

Search results