class ApcuFileCacheBackend in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php \Drupal\Component\FileCache\ApcuFileCacheBackend
APCu backend for the file cache.
Hierarchy
- class \Drupal\Component\FileCache\ApcuFileCacheBackend implements FileCacheBackendInterface
Expanded class hierarchy of ApcuFileCacheBackend
1 file declares its use of ApcuFileCacheBackend
- KernelTestBase.php in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Contains \Drupal\KernelTests\KernelTestBase.
File
- core/
lib/ Drupal/ Component/ FileCache/ ApcuFileCacheBackend.php, line 13 - Contains \Drupal\Component\FileCache\ApcuFileCacheBackend.
Namespace
Drupal\Component\FileCacheView source
class ApcuFileCacheBackend implements FileCacheBackendInterface {
/**
* {@inheritdoc}
*/
public function fetch(array $cids) {
return apc_fetch($cids);
}
/**
* {@inheritdoc}
*/
public function store($cid, $data) {
apc_store($cid, $data);
}
/**
* {@inheritdoc}
*/
public function delete($cid) {
apc_delete($cid);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ApcuFileCacheBackend:: |
public | function |
Deletes data from a cache backend. Overrides FileCacheBackendInterface:: |
|
ApcuFileCacheBackend:: |
public | function |
Fetches data from the cache backend. Overrides FileCacheBackendInterface:: |
|
ApcuFileCacheBackend:: |
public | function |
Stores data into a cache backend. Overrides FileCacheBackendInterface:: |