You are here

public function VerifierFileChecksum::__construct in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/drupal/php-signify/src/VerifierFileChecksum.php \Drupal\Signify\VerifierFileChecksum::__construct()

File

vendor/drupal/php-signify/src/VerifierFileChecksum.php, line 32

Class

VerifierFileChecksum
Class VerifierFileChecksum Models a particular file's expected checksum using some algorithm.

Namespace

Drupal\Signify

Code

public function __construct($filename, $algorithm, $hex_hash, $trusted) {
  $this->filename = $filename;
  $this->algorithm = $algorithm;
  $this->hex_hash = $hex_hash;
  $this->trusted = $trusted;
}