diff options
-rwxr-xr-x | src/php/tests/interop/message_set.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/php/tests/interop/message_set.php b/src/php/tests/interop/message_set.php new file mode 100755 index 0000000000..c35c6d74b2 --- /dev/null +++ b/src/php/tests/interop/message_set.php @@ -0,0 +1,26 @@ +<?php +// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 +// Source: net/proto2/bridge/proto/message_set.proto +// Date: 2014-12-03 22:02:20 + +namespace proto2\bridge { + + class MessageSet extends \DrSlump\Protobuf\Message { + + + /** @var \Closure[] */ + protected static $__extensions = array(); + + public static function descriptor() + { + $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'proto2.bridge.MessageSet'); + + foreach (self::$__extensions as $cb) { + $descriptor->addField($cb(), true); + } + + return $descriptor; + } + } +} + |