diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-03-17 11:08:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 11:08:06 -0700 |
commit | 6b27c1f981a9a93918e4039f236ead27165a8e91 (patch) | |
tree | 980c622c849bc84be49b70996ce4e19979ba9122 /php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php | |
parent | c0871aa49c685e3aca19244c67d54ff321a62865 (diff) | |
download | protobuf-6b27c1f981a9a93918e4039f236ead27165a8e91.tar.gz protobuf-6b27c1f981a9a93918e4039f236ead27165a8e91.tar.bz2 protobuf-6b27c1f981a9a93918e4039f236ead27165a8e91.zip |
Add file option php_class_prefix (#2849)
This option will be prepended to generated classes of all messages in
the containing file.
Diffstat (limited to 'php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php')
-rw-r--r-- | php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |