chobie / php-protocolbuffers

PECL ProtocolBuffers
pecl.php.net/package/protocolbuffers
Other
128 stars 38 forks source link

fix php_protocolbuffers_parse_magic_method #66

Open dongqiaoershao opened 5 years ago

dongqiaoershao commented 5 years ago

If the field is defined as "optional uint32 xxx_y_zzz", than the magic method in php file must be called as "getXxx_YZzz(), setXxx_YZzz()". This PR will fix that bug. Best wishes.