From 6b27c1f981a9a93918e4039f236ead27165a8e91 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Fri, 17 Mar 2017 11:08:06 -0700 Subject: Add file option php_class_prefix (#2849) This option will be prepended to generated classes of all messages in the containing file. --- php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php | 1 + 1 file changed, 1 insertion(+) (limited to 'php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php') diff --git a/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php b/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php index 7c5c8df4..1b6b3d60 100644 --- a/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php +++ b/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php @@ -144,6 +144,7 @@ class Descriptor ->optional('objc_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 36) ->optional('csharp_namespace', \Google\Protobuf\Internal\GPBType::STRING, 37) ->optional('swift_prefix', \Google\Protobuf\Internal\GPBType::STRING, 39) + ->optional('php_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 40) ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') ->finalizeToPool(); -- cgit v1.2.3