public function decodeBytes($bytes) { return parent::decode(bin2hex($bytes)); }
/** * Decodes a binary representation of a GUID into a UuidInterface object instance * * @param string $bytes * @return UuidInterface */ public function decodeBytes($bytes) { // Specifically call parent::decode to preserve correct byte order return parent::decode(bin2hex($bytes)); }