Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VersionNumber.php

class VersionNumber

Hierarchy

  • class \PharIo\Version\VersionNumber

Expanded class hierarchy of VersionNumber

File

vendor/phar-io/version/src/VersionNumber.php, line 12

Namespace

PharIo\Version
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal