UuidInterface¶
-
interface
Ramsey\Uuid\UuidInterface¶ Represents a UUID.
-
compareTo($other)¶ - Parameters
$other (Ramsey\Uuid\UuidInterface) – The UUID to compare
- Returns
Returns
-1,0, or1if the UUID is less than, equal to, or greater than the other UUID.- Return type
int
-
equals($other)¶ - Parameters
$other (object|null) – An object to test for equality with this UUID.
- Returns
Returns true if the UUID is equal to the provided object.
- Return type
bool
-
getBytes()¶ - Returns
A binary string representation of the UUID.
- Return type
string
-
getFields()¶ - Returns
The fields that comprise this UUID.
- Return type
-
getHex()¶ - Returns
The hexadecimal representation of the UUID.
- Return type
-
getInteger()¶ - Returns
The integer representation of the UUID.
- Return type
-
toString()¶ - Returns
The string standard representation of the UUID.
- Return type
string
-
__toString()¶ - Returns
The string standard representation of the UUID.
- Return type
string
-