diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-04-20 01:19:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 01:19:03 -0700 |
commit | 4c57e8475f78ccac80407f03c2d23d30014785f9 (patch) | |
tree | fa9c6ca31796db77c3367acac83233a44938e117 /php/src/Google/Protobuf/Internal/Message.php | |
parent | b97cd573e405dd511b09a9fae124427a29741395 (diff) | |
download | protobuf-4c57e8475f78ccac80407f03c2d23d30014785f9.tar.gz protobuf-4c57e8475f78ccac80407f03c2d23d30014785f9.tar.bz2 protobuf-4c57e8475f78ccac80407f03c2d23d30014785f9.zip |
Prepend "PB" to generated classes whose name are reserved words. (#2990)
Diffstat (limited to 'php/src/Google/Protobuf/Internal/Message.php')
-rw-r--r-- | php/src/Google/Protobuf/Internal/Message.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/php/src/Google/Protobuf/Internal/Message.php b/php/src/Google/Protobuf/Internal/Message.php index 887c86ca..0fb6cdc0 100644 --- a/php/src/Google/Protobuf/Internal/Message.php +++ b/php/src/Google/Protobuf/Internal/Message.php @@ -71,6 +71,7 @@ class Message return; } $pool = DescriptorPool::getGeneratedPool(); + var_dump(get_class($this)); $this->desc = $pool->getDescriptorByClassName(get_class($this)); foreach ($this->desc->getField() as $field) { $setter = $field->getSetter(); |