Airship\Engine\Continuum\Updaters\UpdateInfo::__construct PHP Method

__construct() public method

UpdateInfo constructor.
public __construct ( array $json, string $channelURL, SignaturePublicKey $channelPublicKey, string $supplierName, string $packageName )
$json array
$channelURL string
$channelPublicKey ParagonIE\Halite\Asymmetric\SignaturePublicKey
$supplierName string
$packageName string
    public function __construct(array $json, string $channelURL, SignaturePublicKey $channelPublicKey, string $supplierName, string $packageName)
    {
        $this->response = $json;
        $this->channel = $channelURL;
        $this->publicKey = $channelPublicKey;
        $this->checksum = $json['checksum'];
        $this->releaseInfo = $json['releaseinfo'];
        $this->version = $json['version'];
        $this->merkleRoot = $json['merkle_root'];
        $this->supplierName = $supplierName;
        $this->packageName = $packageName;
    }