aboutsummaryrefslogtreecommitdiff
path: root/php/src/Google/Protobuf/Int64Value.php
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2018-05-25 13:43:22 -0700
committerGitHub <noreply@github.com>2018-05-25 13:43:22 -0700
commit4885b8058a93c1a16efe41fd1830d321e9bb2ce6 (patch)
tree0069b72edfd5639db022fb985b8a4e57abf6967c /php/src/Google/Protobuf/Int64Value.php
parent449e532b087e43a45ca6d8eae640a6019e547aca (diff)
parentdadc95438ff732cb0c1d2961ce7bcf0d99d179b1 (diff)
downloadprotobuf-4885b8058a93c1a16efe41fd1830d321e9bb2ce6.tar.gz
protobuf-4885b8058a93c1a16efe41fd1830d321e9bb2ce6.tar.bz2
protobuf-4885b8058a93c1a16efe41fd1830d321e9bb2ce6.zip
Merge pull request #4675 from TeBoring/3.6.x
Cherry-pick php generated code changes into 3.6.x
Diffstat (limited to 'php/src/Google/Protobuf/Int64Value.php')
-rw-r--r--php/src/Google/Protobuf/Int64Value.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/php/src/Google/Protobuf/Int64Value.php b/php/src/Google/Protobuf/Int64Value.php
index a6fb9c5d..ca663055 100644
--- a/php/src/Google/Protobuf/Int64Value.php
+++ b/php/src/Google/Protobuf/Int64Value.php
@@ -23,9 +23,19 @@ class Int64Value extends \Google\Protobuf\Internal\Message
*/
private $value = 0;
- public function __construct() {
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $value
+ * The int64 value.
+ * }
+ */
+ public function __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\Wrappers::initOnce();
- parent::__construct();
+ parent::__construct($data);
}
/**