summaryrefslogtreecommitdiff
path: root/upb/descriptor/descriptor.proto
diff options
context:
space:
mode:
authorBo Yang <teboring@google.com>2017-03-13 17:49:26 -0700
committerBo Yang <teboring@google.com>2017-03-14 11:31:30 -0700
commit969ba5ef86a951cb262929cb8a3fa31df6014517 (patch)
tree40078b87840fff89e5c9e40d5986a9d1649eaa32 /upb/descriptor/descriptor.proto
parent5a8467842acfbd117ec9231f8231fc33c3304035 (diff)
Add new file option php_class_prefix.
This option will be prepended to all php generated classes. The PHP runtime needs to know this option to figure out the class name for specific message.
Diffstat (limited to 'upb/descriptor/descriptor.proto')
-rw-r--r--upb/descriptor/descriptor.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/upb/descriptor/descriptor.proto b/upb/descriptor/descriptor.proto
index c59a602..cf3d837 100644
--- a/upb/descriptor/descriptor.proto
+++ b/upb/descriptor/descriptor.proto
@@ -381,6 +381,10 @@ message FileOptions {
// suffixed package.
optional bool javanano_use_deprecated_package = 38;
+ // Sets the php class prefix which is prepended to all php generated classes
+ // from this .proto. Default is empty.
+ optional string php_class_prefix = 40;
+
// 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