Expanded class hierarchy of TestCacheWarmer
class TestCacheWarmer extends CacheWarmer {
protected $file;
public function __construct($file) {
$this->file = $file;
}
public function warmUp($cacheDir) {
$this
->writeCacheFile($this->file, 'content');
}
public function isOptional() {
return false;
}
}
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheWarmer:: |
protected | function | ||
TestCacheWarmer:: |
protected | property | ||
TestCacheWarmer:: |
public | function |
Checks whether this warmer is optional or not. Overrides CacheWarmerInterface:: |
|
TestCacheWarmer:: |
public | function |
Warms up the cache. Overrides WarmableInterface:: |
|
TestCacheWarmer:: |
public | function |