Passed
Pull Request — master (#3)
by Timothy
06:14
created

ChaincodeEvent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 24
rs 10
wmc 2
1
<?php
2
# Generated by the protocol buffer compiler.  DO NOT EDIT!
3
# source: peer/chaincode_event.proto
4
5
namespace GPBMetadata\Peer;
6
7
class ChaincodeEvent
8
{
9
    public static $is_initialized = false;
10
11
    public static function initOnce() {
12
        $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
13
14
        if (static::$is_initialized == true) {
15
          return;
16
        }
17
        $pool->internalAddGeneratedFile(hex2bin(
18
            "0a92020a1a706565722f636861696e636f64655f6576656e742e70726f74" .
19
            "6f120670726f746f73225a0a0e436861696e636f64654576656e7412140a" .
20
            "0c636861696e636f64655f6964180120012809120d0a0574785f69641802" .
21
            "2001280912120a0a6576656e745f6e616d65180320012809120f0a077061" .
22
            "796c6f616418042001280c4287010a226f72672e68797065726c65646765" .
23
            "722e6661627269632e70726f746f732e706565724215436861696e636f64" .
24
            "654576656e745061636b6167655a296769746875622e636f6d2f68797065" .
25
            "726c65646765722f6661627269632f70726f746f732f70656572ca021e48" .
26
            "797065726c65646765725c4661627269635c50726f746f735c5065657262" .
27
            "0670726f746f33"
28
        ));
29
30
        static::$is_initialized = true;
31
    }
32
}
33
34