function ProjectRelease::getVersion

Same name in other branches
  1. 9 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getVersion()
  2. 11.x core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getVersion()

Gets the project version.

Return value

string The project version.

File

core/modules/update/src/ProjectRelease.php, line 181

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function getVersion() : string {
    return $this->version;
}

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