From 25672c175792f707c71c9aa9fcd29cab31c757fa Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Wed, 2 Aug 2017 18:33:25 -0700 Subject: Add getClass for php Descriptor in c extension (#3443) --- php/ext/google/protobuf/protobuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'php/ext/google/protobuf/protobuf.h') diff --git a/php/ext/google/protobuf/protobuf.h b/php/ext/google/protobuf/protobuf.h index 1f79fe8c..44a4155f 100644 --- a/php/ext/google/protobuf/protobuf.h +++ b/php/ext/google/protobuf/protobuf.h @@ -508,6 +508,7 @@ PHP_PROTO_WRAP_OBJECT_START(Descriptor) const upb_handlers* json_serialize_handlers_preserve; PHP_PROTO_WRAP_OBJECT_END +PHP_METHOD(Descriptor, getClass); PHP_METHOD(Descriptor, getFullName); PHP_METHOD(Descriptor, getField); PHP_METHOD(Descriptor, getFieldCount); -- cgit v1.2.3