src/Codec/GuidStringCodec.php
public function encodeBinary(UuidInterface $uuid)
    {
        $components = array_values($uuid->getFieldsHex());

        return hex2bin(implode('', $components));
    }
public function encodeBinary(UuidInterface $uuid)
    {
        $components = array_values($uuid->getFieldsHex());

        return hex2bin(implode('', $components));
    }
public function encodeBinary ( UuidInterface $ uuid ) { $ components = array_values ( $ uuid -> getFieldsHex ( ) ) ; return hex2bin ( implode ( '' , $ components ) ) ; }
Encodes a UuidInterface as a binary representation of a GUID

@param UuidInterface $uuid
@return string Binary string representation of a GUID
Encodes a UuidInterface as a binary representation of a GUID