function GPBEmpty::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
}
Overrides Message::__construct
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ GPBEmpty.php, line 32
Class
- GPBEmpty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty)…
Namespace
Google\ProtobufCode
public function __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\GPBEmpty::initOnce();
parent::__construct($data);
}