summaryrefslogtreecommitdiff
path: root/upb/descriptor/descriptor.proto
diff options
context:
space:
mode:
authorBo Yang <teboring@google.com>2017-05-30 15:34:33 -0700
committerBo Yang <teboring@google.com>2017-05-31 14:21:07 -0700
commitf15e6764bd1d27d33b5bbf0f5bc7c23bcc837128 (patch)
treeb9dc70a8db0163dfbaa5a8c53a012fe8810188da /upb/descriptor/descriptor.proto
parent3f3ee548f16a2c6d94c2c9cbe161e5b306269e79 (diff)
Add new file option php_namespace.
Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.
Diffstat (limited to 'upb/descriptor/descriptor.proto')
-rw-r--r--upb/descriptor/descriptor.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/upb/descriptor/descriptor.proto b/upb/descriptor/descriptor.proto
index cf3d837..b6e303e 100644
--- a/upb/descriptor/descriptor.proto
+++ b/upb/descriptor/descriptor.proto
@@ -385,6 +385,11 @@ message FileOptions {
// from this .proto. Default is empty.
optional string php_class_prefix = 40;
+ // Use this option to change the namespace of php generated classes. Default
+ // is empty. When this option is empty, the package name will be used for
+ // determining the namespace.
+ optional string php_namespace = 41;
+
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback