CodecInterface
interface CodecInterface (View source)
CodecInterface represents a UUID coder-decoder
Methods
string
string
decode(string $encodedUuid)
Decodes a string representation of a UUID into a UuidInterface object instance
decodeBytes(string $bytes)
Decodes a binary representation of a UUID into a UuidInterface object instance
Details
at line 30
string
encode(UuidInterface $uuid)
Encodes a UuidInterface as a string representation of a UUID
at line 38
string
encodeBinary(UuidInterface $uuid)
Encodes a UuidInterface as a binary representation of a UUID
at line 46
UuidInterface
decode(string $encodedUuid)
Decodes a string representation of a UUID into a UuidInterface object instance
at line 54
UuidInterface
decodeBytes(string $bytes)
Decodes a binary representation of a UUID into a UuidInterface object instance