function ProjectSecurityData::__construct

Same name and namespace in other branches
  1. 11.x core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()
  2. 10 core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()
  3. 9 core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()
  4. 8.9.x core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()

Constructs a ProjectSecurityData object.

Parameters

string $existingVersion: The existing (currently installed) version of the project.

array $releases: Project releases as returned by \Drupal\update\UpdateManagerInterface::getAvailable().

File

core/modules/update/src/ProjectSecurityData.php, line 60

Class

ProjectSecurityData
Calculates a project's security coverage information.

Namespace

Drupal\update

Code

private function __construct(protected $existingVersion = NULL, protected array $releases = []) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.