function StringCodec::decode
@inheritDoc
Throws
Overrides CodecInterface::decode
2 calls to StringCodec::decode()
- GuidStringCodec::decodeBytes in vendor/
ramsey/ uuid/ src/ Codec/ GuidStringCodec.php - Returns a UuidInterface derived from a binary string representation
- GuidStringCodec::decodeBytes in vendor/
ramsey/ uuid/ src/ Codec/ GuidStringCodec.php - Returns a UuidInterface derived from a binary string representation
2 methods override StringCodec::decode()
- GuidStringCodec::decode in vendor/
ramsey/ uuid/ src/ Codec/ GuidStringCodec.php - @inheritDoc
- TimestampFirstCombCodec::decode in vendor/
ramsey/ uuid/ src/ Codec/ TimestampFirstCombCodec.php - @inheritDoc
File
-
vendor/
ramsey/ uuid/ src/ Codec/ StringCodec.php, line 80
Class
- StringCodec
- StringCodec encodes and decodes RFC 4122 UUIDs
Namespace
Ramsey\Uuid\CodecCode
public function decode(string $encodedUuid) : UuidInterface {
return $this->builder
->build($this, $this->getBytes($encodedUuid));
}