diff options
author | Bo Yang <teboring@google.com> | 2017-05-30 15:34:33 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-05-31 14:21:07 -0700 |
commit | f15e6764bd1d27d33b5bbf0f5bc7c23bcc837128 (patch) | |
tree | b9dc70a8db0163dfbaa5a8c53a012fe8810188da /upb/descriptor/descriptor.proto | |
parent | 3f3ee548f16a2c6d94c2c9cbe161e5b306269e79 (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.proto | 5 |
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; |