function ProjectSecurityData::__construct
Same name in other branches
- 9 core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()
- 8.9.x core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()
- 11.x core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::__construct()
Constructs a ProjectSecurityData object.
Parameters
string $existing_version: The existing (currently installed) version of the project.
array $releases: Project releases as returned by update_get_available().
File
-
core/
modules/ update/ src/ ProjectSecurityData.php, line 78
Class
- ProjectSecurityData
- Calculates a project's security coverage information.
Namespace
Drupal\updateCode
private function __construct($existing_version = NULL, array $releases = []) {
$this->existingVersion = $existing_version;
$this->releases = $releases;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.