src/Type/MessageRefType.php
public function encode($value, Field $field, Codec $codec = null)
    {
        return $codec->encodeMessageRef($value, $field);
    }
public function encode($value, Field $field, Codec $codec = null)
    {
        return $codec->encodeMessageRef($value, $field);
    }
{@inheritdoc}