From 969ba5ef86a951cb262929cb8a3fa31df6014517 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Mon, 13 Mar 2017 17:49:26 -0700 Subject: 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. --- upb/descriptor/descriptor.proto | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'upb/descriptor/descriptor.proto') 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; -- cgit v1.2.3