\google\protobuf\FileOptions::extension(function () { // OPTIONAL STRING php.suffix = 50003 $f = new \StudyDrSlump\Protobuf\Field(); $f->number = 50003; $f->name = "php.suffix"; $f->type = \StudyDrSlump\Protobuf::TYPE_STRING; $f->rule = \StudyDrSlump\Protobuf::RULE_OPTIONAL; $f->default = ".php"; return $f; }); \google\protobuf\FileOptions::extension(function () { // OPTIONAL BOOL php.multifile = 50004 $f = new \StudyDrSlump\Protobuf\Field(); $f->number = 50004; $f->name = "php.multifile"; $f->type = \StudyDrSlump\Protobuf::TYPE_BOOL; $f->rule = \StudyDrSlump\Protobuf::RULE_OPTIONAL; $f->default = FALSE; return $f; }); \google\protobuf\FileOptions::extension(function () { // OPTIONAL BOOL php.generic_services = 50005 $f = new \StudyDrSlump\Protobuf\Field(); $f->number = 50005; $f->name = "php.generic_services"; $f->type = \StudyDrSlump\Protobuf::TYPE_BOOL; $f->rule = \StudyDrSlump\Protobuf::RULE_OPTIONAL; $f->default = FALSE; return $f; }); }
<?php // DO NOT EDIT! Generated by Protobuf for PHP protoc plugin @package_version@ // Source: php.proto // Date: 2011-03-20 01:27:38 namespace { \google\protobuf\FileOptions::extension(function () { // optional php.namespace = 50002 $f = new \DrSlump\Protobuf\Field(); $f->number = 50102; $f->name = "json.namespace"; $f->type = 9; $f->rule = 1; return $f; }); \google\protobuf\FileOptions::extension(function () { // optional php.suffix = 50003 $f = new \DrSlump\Protobuf\Field(); $f->number = 50103; $f->name = "json.suffix"; $f->type = 9; $f->rule = 1; $f->default = ".pb.js"; return $f; }); }
\google\protobuf\FileOptions::extension(function () { // optional php.suffix = 50003 $f = new \DrSlump\Protobuf\Field(); $f->number = 50003; $f->name = "php.suffix"; $f->type = 9; $f->rule = 1; $f->default = ".php"; return $f; }); \google\protobuf\FileOptions::extension(function () { // optional php.multiple = 50004 $f = new \DrSlump\Protobuf\Field(); $f->number = 50004; $f->name = "php.multifile"; $f->type = 8; $f->rule = 1; $f->default = false; return $f; }); \google\protobuf\FileOptions::extension(function () { // optional php.generic_services = 50005 $f = new \DrSlump\Protobuf\Field(); $f->number = 50005; $f->name = "php.generic_services"; $f->type = 8; $f->rule = 1; $f->default = false; return $f; }); }
}); \google\protobuf\FileOptions::extension(function () { // optional string suffix = 50003 $f = new \DrSlump\Protobuf\Field(); $f->number = 50003; $f->name = "suffix"; $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL; $f->type = \DrSlump\Protobuf\Protobuf::TYPE_STRING; $f->default = '.php'; return $f; }); \google\protobuf\FileOptions::extension(function () { // optional bool multifile = 50004 $f = new \DrSlump\Protobuf\Field(); $f->number = 50004; $f->name = "multifile"; $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL; $f->type = \DrSlump\Protobuf\Protobuf::TYPE_BOOL; $f->default = false; return $f; }); \google\protobuf\FileOptions::extension(function () { // optional bool generic_services = 50005 $f = new \DrSlump\Protobuf\Field(); $f->number = 50005; $f->name = "generic_services"; $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL; $f->type = \DrSlump\Protobuf\Protobuf::TYPE_BOOL; $f->default = false; return $f; });