class CacheWarmer
Same name in this branch
- 11.1.x vendor/symfony/http-kernel/CacheWarmer/CacheWarmer.php \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmer
Hierarchy
- class \SebastianBergmann\CodeCoverage\StaticAnalysis\CacheWarmer
Expanded class hierarchy of CacheWarmer
1 file declares its use of CacheWarmer
- WarmCodeCoverageCacheCommand.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Command/ Commands/ WarmCodeCoverageCacheCommand.php
File
-
vendor/
phpunit/ php-code-coverage/ src/ StaticAnalysis/ CacheWarmer.php, line 14
Namespace
SebastianBergmann\CodeCoverage\StaticAnalysisView source
final class CacheWarmer {
public function warmCache(string $cacheDirectory, bool $useAnnotationsForIgnoringCode, bool $ignoreDeprecatedCode, Filter $filter) : void {
$analyser = new CachingFileAnalyser($cacheDirectory, new ParsingFileAnalyser($useAnnotationsForIgnoringCode, $ignoreDeprecatedCode), $useAnnotationsForIgnoringCode, $ignoreDeprecatedCode);
foreach ($filter->files() as $file) {
$analyser->process($file);
}
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
CacheWarmer::warmCache | public | function |