class VersionNumber
Hierarchy
- class \PharIo\Version\VersionNumber
Expanded class hierarchy of VersionNumber
File
-
vendor/
phar-io/ version/ src/ VersionNumber.php, line 12
Namespace
PharIo\VersionView source
class VersionNumber {
/** @var ?int */
private $value;
public function __construct(?int $value) {
$this->value = $value;
}
public function isAny() : bool {
return $this->value === null;
}
public function getValue() : ?int {
return $this->value;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
VersionNumber::$value | private | property | @var ?int |
VersionNumber::getValue | public | function | |
VersionNumber::isAny | public | function | |
VersionNumber::__construct | public | function |