function SecurityAdvisory::__construct
Same name in this branch
- 11.1.x core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::__construct()
Parameters
non-empty-array<array{name: string, remoteId: string}> $sources:
Overrides PartialSecurityAdvisory::__construct
2 calls to SecurityAdvisory::__construct()
- IgnoredSecurityAdvisory::__construct in vendor/
composer/ composer/ src/ Composer/ Advisory/ IgnoredSecurityAdvisory.php - IgnoredSecurityAdvisory::__construct in vendor/
composer/ composer/ src/ Composer/ Advisory/ IgnoredSecurityAdvisory.php
1 method overrides SecurityAdvisory::__construct()
- IgnoredSecurityAdvisory::__construct in vendor/
composer/ composer/ src/ Composer/ Advisory/ IgnoredSecurityAdvisory.php
File
-
vendor/
composer/ composer/ src/ Composer/ Advisory/ SecurityAdvisory.php, line 59
Class
Namespace
Composer\AdvisoryCode
public function __construct(string $packageName, string $advisoryId, ConstraintInterface $affectedVersions, string $title, array $sources, DateTimeImmutable $reportedAt, ?string $cve = null, ?string $link = null, ?string $severity = null) {
parent::__construct($packageName, $advisoryId, $affectedVersions);
$this->title = $title;
$this->sources = $sources;
$this->reportedAt = $reportedAt;
$this->cve = $cve;
$this->link = $link;
$this->severity = $severity;
}