function StaticFileCacheBackend::__construct
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php \Drupal\Tests\Component\FileCache\StaticFileCacheBackend::__construct()
- 10 core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php \Drupal\Tests\Component\FileCache\StaticFileCacheBackend::__construct()
- 11.x core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php \Drupal\Tests\Component\FileCache\StaticFileCacheBackend::__construct()
Constructs a PHP Storage FileCache backend.
Parameters
array $configuration: (optional) Configuration used to configure this object.
File
-
core/
tests/ Drupal/ Tests/ Component/ FileCache/ StaticFileCacheBackend.php, line 32
Class
- StaticFileCacheBackend
- Allows to cache data based on file modification dates in a static cache.
Namespace
Drupal\Tests\Component\FileCacheCode
public function __construct($configuration) {
$this->bin = isset($configuration['bin']) ? $configuration['bin'] : 'file_cache';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.