You are here

public function TestCacheWarmer::warmUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerTest.php \Symfony\Component\HttpKernel\Tests\CacheWarmer\TestCacheWarmer::warmUp()

Warms up the cache.

Parameters

string $cacheDir The cache directory:

Overrides WarmableInterface::warmUp

File

vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerTest.php, line 58

Class

TestCacheWarmer

Namespace

Symfony\Component\HttpKernel\Tests\CacheWarmer

Code

public function warmUp($cacheDir) {
  $this
    ->writeCacheFile($this->file, 'content');
}