aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/src/Google/Protobuf/GPBEmpty.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/Google/Protobuf/GPBEmpty.php')
-rw-r--r--php/src/Google/Protobuf/GPBEmpty.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/php/src/Google/Protobuf/GPBEmpty.php b/php/src/Google/Protobuf/GPBEmpty.php
index 24a93f96..2de9c3bc 100644
--- a/php/src/Google/Protobuf/GPBEmpty.php
+++ b/php/src/Google/Protobuf/GPBEmpty.php
@@ -22,9 +22,17 @@ use Google\Protobuf\Internal\GPBUtil;
class GPBEmpty extends \Google\Protobuf\Internal\Message
{
- public function __construct() {
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\GPBEmpty::initOnce();
- parent::__construct();
+ parent::__construct($data);
}
}