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

Breadcrumb

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

function CodeCoverage::cacheDirectory

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/CodeCoverage/CodeCoverage.php \PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage::cacheDirectory()

Throws

StaticAnalysisCacheNotConfiguredException

File

vendor/phpunit/php-code-coverage/src/CodeCoverage.php, line 341

Class

CodeCoverage
Provides collection functionality for PHP code coverage information.

Namespace

SebastianBergmann\CodeCoverage

Code

public function cacheDirectory() : string {
    if (!$this->cachesStaticAnalysis()) {
        throw new StaticAnalysisCacheNotConfiguredException('The static analysis cache is not configured');
    }
    return $this->cacheDirectory;
}
RSS feed
Powered by Drupal