public function TestCacheWarmer::warmUp

Warms up the cache.

Parameters

string $cacheDir The cache directory:

Overrides WarmableInterface::warmUp

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerTest.php, line 58

Class

TestCacheWarmer

Namespace

Symfony\Component\HttpKernel\Tests\CacheWarmer

Code

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