private function ExtensionVersion::__construct in Drupal 9
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Extension/ExtensionVersion.php \Drupal\Core\Extension\ExtensionVersion::__construct()
Constructs an ExtensionVersion object.
Parameters
string $major_version: The major version.
string|null $minor_version: The minor version.
string|null $version_extra: The extra version string.
File
- core/
lib/ Drupal/ Core/ Extension/ ExtensionVersion.php, line 103
Class
- ExtensionVersion
- Provides an extension version value object.
Namespace
Drupal\Core\ExtensionCode
private function __construct(string $major_version, ?string $minor_version, ?string $version_extra) {
$this->majorVersion = $major_version;
$this->minorVersion = $minor_version;
$this->versionExtra = $version_extra;
}