Methods |
public
|
compareTo(UuidInterface $other): int<-1, 1>
Returns -1, 0, or 1 if the UUID is less than, equal to, or greater than the other UUID
Returns -1, 0, or 1 if the UUID is less than, equal to, or greater than the other UUID
The first of two UUIDs is greater than the second if the most significant field in which the UUIDs differ is
greater for the first UUID.
Parameters
$other |
The UUID to compare
|
Returns
-1, 0, or 1 if the UUID is less than, equal to, or greater than $other
Implemented by
|
#
|
public
|
equals(object|null $other): bool
Returns true if the UUID is equal to the provided object
Returns true if the UUID is equal to the provided object
The result is true if and only if the argument is not null, is a UUID object, has the same variant, and contains
the same value, bit-for-bit, as the UUID.
Parameters
$other |
An object to test for equality with this UUID
|
Returns
True if the other object is equal to this UUID
Implemented by
|
#
|
public
|
getBytes(): non-empty-string
Returns the binary string representation of the UUID
Returns the binary string representation of the UUID
Implemented by
|
#
|
public
|
getFields(): FieldsInterface
Returns the fields that comprise this UUID
Returns the fields that comprise this UUID
Implemented by
|
#
|
public
|
getHex(): Hexadecimal
Returns the hexadecimal representation of the UUID
Returns the hexadecimal representation of the UUID
Implemented by
|
#
|
public
|
getInteger(): Integer
Returns the integer representation of the UUID
Returns the integer representation of the UUID
Implemented by
|
#
|
public
|
getUrn(): string
Returns the string standard representation of the UUID as a URN
Returns the string standard representation of the UUID as a URN
Implemented by
|
#
|
public
|
toString(): non-empty-string
Returns the string standard representation of the UUID
Returns the string standard representation of the UUID
Implemented by
|
#
|
public
|
__toString(): non-empty-string
Casts the UUID to the string standard representation
Casts the UUID to the string standard representation
|
#
|