private function ModuleVersion::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/update/src/ModuleVersion.php \Drupal\update\ModuleVersion::__construct()
Constructs a ModuleVersion object.
Parameters
string $major_version: The major version.
string|null $version_extra: The extra version string.
File
- core/
modules/ update/ src/ ModuleVersion.php, line 87
Class
- ModuleVersion
- Provides a module version value object.
Namespace
Drupal\updateCode
private function __construct($major_version, $version_extra) {
$this->majorVersion = $major_version;
$this->versionExtra = $version_extra;
}