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

Breadcrumb

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

function Runtime::getNameWithVersionAndCodeCoverageDriver

File

vendor/sebastian/environment/src/Runtime.php, line 145

Class

Runtime

Namespace

SebastianBergmann\Environment

Code

public function getNameWithVersionAndCodeCoverageDriver() : string {
    if ($this->hasPCOV()) {
        return sprintf('%s with PCOV %s', $this->getNameWithVersion(), phpversion('pcov'));
    }
    if ($this->hasXdebug()) {
        return sprintf('%s with Xdebug %s', $this->getNameWithVersion(), phpversion('xdebug'));
    }
    return $this->getNameWithVersion();
}
RSS feed
Powered by Drupal