From f15e6764bd1d27d33b5bbf0f5bc7c23bcc837128 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Tue, 30 May 2017 15:34:33 -0700 Subject: 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. --- upb/descriptor/descriptor.proto | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'upb/descriptor/descriptor.proto') 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; -- cgit v1.2.3