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/php-code-coverage/src/CodeCoverage.php \SebastianBergmann\CodeCoverage\CodeCoverage::cacheDirectory()

Throws

Exception

File

vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/CodeCoverage/CodeCoverage.php, line 86

Class

CodeCoverage
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\TextUI\XmlConfiguration\CodeCoverage

Code

public function cacheDirectory() : Directory {
    if (!$this->hasCacheDirectory()) {
        throw new Exception('No cache directory has been configured');
    }
    return $this->cacheDirectory;
}
RSS feed
Powered by Drupal