function SecurityAdvisory::getProject

Same name in other branches
  1. 9 core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::getProject()
  2. 10 core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::getProject()

Gets the project associated with the advisory.

Return value

string The project name.

File

core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php, line 164

Class

SecurityAdvisory
Provides a security advisory value object.

Namespace

Drupal\system\SecurityAdvisories

Code

public function getProject() : string {
    return $this->project;
}

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