Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SecurityAdvisory.php

function SecurityAdvisory::__construct

Same name in this branch
  1. 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

SecurityAdvisory

Namespace

Composer\Advisory

Code

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal