function SourceContext::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type string $file_name The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. }
Overrides Message::__construct
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ SourceContext.php, line 38
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 __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\SourceContext::initOnce();
parent::__construct($data);
}