Introduce separate class support for GUIDs

This commit is contained in:
Ben Ramsey
2020-01-03 11:25:56 -06:00
parent d4dd45e908
commit d6ed9b3832
15 changed files with 657 additions and 174 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class StringCodec implements CodecInterface
*/
public function encodeBinary(UuidInterface $uuid): string
{
return (string) hex2bin($uuid->getHex());
return $uuid->getBytes();
}
/**