trait ApcuRawBackendGeneralTestCaseTrait in Supercache 8
Same name and namespace in other branches
- 2.0.x src/Tests/Cache/ApcuRawBackendGeneralTestCaseTrait.php \Drupal\supercache\Tests\Cache\ApcuRawBackendGeneralTestCaseTrait
Hierarchy
- trait \Drupal\supercache\Tests\Cache\ApcuRawBackendGeneralTestCaseTrait
File
- src/
Tests/ Cache/ ApcuRawBackendGeneralTestCaseTrait.php, line 14
Namespace
Drupal\supercache\Tests\CacheView source
trait ApcuRawBackendGeneralTestCaseTrait {
public function setUp() {
apcu_clear_cache();
$app_root = '/';
$site_path = uniqid();
$factory = new ApcuRawBackendFactory($app_root, $site_path);
// The aim of this setup is to get two functional backend instances.
$this->backend = $factory
->get('test_binary');
$this->backend2 = $factory
->get('test_binary_alt');
}
public function tearDown() {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ApcuRawBackendGeneralTestCaseTrait:: |
public | function | ||
ApcuRawBackendGeneralTestCaseTrait:: |
public | function |