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/tests/proto/test_prefix.proto | |
parent | c0871aa49c685e3aca19244c67d54ff321a62865 (diff) |
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/tests/proto/test_prefix.proto')
-rw-r--r-- | php/tests/proto/test_prefix.proto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/php/tests/proto/test_prefix.proto b/php/tests/proto/test_prefix.proto new file mode 100644 index 00000000..04582121 --- /dev/null +++ b/php/tests/proto/test_prefix.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +option php_class_prefix = "Prefix"; + +message TestPrefix { + int32 a = 1; +} |