function SourceContext::setFileName
The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`.
Generated from protobuf field <code>string file_name = 1;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ SourceContext.php, line 63
Class
- SourceContext
- `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
Namespace
Google\ProtobufCode
public function setFileName($var) {
GPBUtil::checkString($var, True);
$this->file_name = $var;
return $this;
}