function FileCacheTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()
- 11.x core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()
File
-
core/
tests/ Drupal/ Tests/ Component/ FileCache/ FileCacheTest.php, line 33
Class
- FileCacheTest
- @coversDefaultClass \Drupal\Component\FileCache\FileCache @group FileCache
Namespace
Drupal\Tests\Component\FileCacheCode
protected function setUp() : void {
parent::setUp();
$this->fileCache = new FileCache('prefix', 'test', '\\Drupal\\Tests\\Component\\FileCache\\StaticFileCacheBackend', [
'bin' => 'llama',
]);
$this->staticFileCache = new StaticFileCacheBackend([
'bin' => 'llama',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.