Methods |
public
|
encode(UuidInterface $uuid): non-empty-string
Returns a hexadecimal string representation of a UuidInterface
Returns a hexadecimal string representation of a UuidInterface
Parameters
$uuid |
The UUID for which to create a hexadecimal string representation
|
Returns
Hexadecimal string representation of a UUID
|
#
|
public
|
encodeBinary(UuidInterface $uuid): non-empty-string
Returns a binary string representation of a UuidInterface
Returns a binary string representation of a UuidInterface
Parameters
$uuid |
The UUID for which to create a binary string representation
|
Returns
Binary string representation of a UUID
|
#
|
public
|
decode(string $encodedUuid): UuidInterface
Returns a UuidInterface derived from a hexadecimal string representation
Returns a UuidInterface derived from a hexadecimal string representation
Parameters
$encodedUuid |
The hexadecimal string representation to convert into a UuidInterface instance
|
Returns
An instance of a UUID decoded from a hexadecimal string representation
|
#
|
public
|
decodeBytes(string $bytes): UuidInterface
Returns a UuidInterface derived from a binary string representation
Returns a UuidInterface derived from a binary string representation
Parameters
$bytes |
The binary string representation to convert into a UuidInterface instance
|
Returns
An instance of a UUID decoded from a binary string representation
|
#
|