Documentation

NilTrait

Provides common functionality for nil UUIDs

The nil UUID is special form of UUID that is specified to have all 128 bits set to zero.

Tags
link

RFC 4122, § 4.1.7: Nil UUID

psalm-immutable

Table of Contents

getBytes()  : string
Returns the bytes that comprise the fields
isNil()  : bool
Returns true if the byte string represents a nil UUID

Methods

getBytes()

Returns the bytes that comprise the fields

public abstract getBytes() : string
Return values
string

isNil()

Returns true if the byte string represents a nil UUID

public isNil() : bool
Return values
bool

Search results