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

Breadcrumb

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

class Version

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Runner/Version.php \PHPUnit\Runner\Version
  2. 11.1.x vendor/phar-io/version/src/Version.php \PharIo\Version\Version
  3. 11.1.x vendor/sebastian/version/src/Version.php \SebastianBergmann\Version
  4. 11.1.x vendor/composer/composer/src/Composer/Platform/Version.php \Composer\Platform\Version
  5. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php \phpDocumentor\Reflection\DocBlock\Tags\Version

Hierarchy

  • class \SebastianBergmann\CodeCoverage\Version

Expanded class hierarchy of Version

2 files declare their use of Version
Facade.php in vendor/phpunit/php-code-coverage/src/Report/Xml/Facade.php
Renderer.php in vendor/phpunit/php-code-coverage/src/Report/Html/Renderer.php
173 string references to 'Version'
announcements_feed.info.yml in core/modules/announcements_feed/announcements_feed.info.yml
core/modules/announcements_feed/announcements_feed.info.yml
announcements_feed.libraries.yml in core/modules/announcements_feed/announcements_feed.libraries.yml
core/modules/announcements_feed/announcements_feed.libraries.yml
ArchiveCommand::execute in vendor/composer/composer/src/Composer/Command/ArchiveCommand.php
Executes the current command.
AutoAddedKeysSniff::process in vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/InfoFiles/AutoAddedKeysSniff.php
Processes this test, when one of its tokens is encountered.
automated_cron.info.yml in core/modules/automated_cron/automated_cron.info.yml
core/modules/automated_cron/automated_cron.info.yml

... See full list

File

vendor/phpunit/php-code-coverage/src/Version.php, line 15

Namespace

SebastianBergmann\CodeCoverage
View source
final class Version {
    private static string $version = '';
    public static function id() : string {
        if (self::$version === '') {
            self::$version = (new VersionId('10.1.16', dirname(__DIR__)))->asString();
        }
        return self::$version;
    }

}

Members

Title Sort descending Modifiers Object type Summary
Version::$version private static property
Version::id public static function

API Navigation

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