aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/src/Google/Protobuf/BoolValue.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/Google/Protobuf/BoolValue.php')
-rw-r--r--php/src/Google/Protobuf/BoolValue.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/php/src/Google/Protobuf/BoolValue.php b/php/src/Google/Protobuf/BoolValue.php
index c28bf941..13872eb1 100644
--- a/php/src/Google/Protobuf/BoolValue.php
+++ b/php/src/Google/Protobuf/BoolValue.php
@@ -23,9 +23,19 @@ class BoolValue extends \Google\Protobuf\Internal\Message
*/
private $value = false;
- public function __construct() {
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $value
+ * The bool value.
+ * }
+ */
+ public function __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\Wrappers::initOnce();
- parent::__construct();
+ parent::__construct($data);
}
/**