function FileOptions::getSwiftPrefix
By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined. When this options is provided, they will use this value instead to prefix the types/symbols defined.
Generated from protobuf field <code>optional string swift_prefix = 39;</code>
Return value
string
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 886
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function getSwiftPrefix() {
return isset($this->swift_prefix) ? $this->swift_prefix : '';
}