Documentation

FallbackBuilder
in package
implements UuidBuilderInterface

FallbackBuilder builds a UUID by stepping through a list of UUID builders until a UUID can be constructed without exceptions

Tags
psalm-immutable

Interfaces, Classes, Traits and Enums

UuidBuilderInterface
A UUID builder builds instances of UuidInterface

Table of Contents

$builders  : iteratable<string|int, UuidBuilderInterface>
__construct()  : mixed
build()  : UuidInterface
Builds and returns a UuidInterface instance using the first builder that succeeds

Properties

Methods

build()

Builds and returns a UuidInterface instance using the first builder that succeeds

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

The codec to use for building this instance

$bytes : string

The byte string from which to construct a UUID

Tags
psalm-pure
Return values
UuidInterface

an instance of a UUID object

Search results