Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 6 |
ApcuFileCacheBackend | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 6 |
fetch | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
store | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
delete | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Component\FileCache\ApcuFileCacheBackend. | |
*/ | |
namespace Drupal\Component\FileCache; | |
/** | |
* APCu backend for the file cache. | |
*/ | |
class ApcuFileCacheBackend implements FileCacheBackendInterface { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function fetch(array $cids) { | |
return apcu_fetch($cids); | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function store($cid, $data) { | |
apcu_store($cid, $data); | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function delete($cid) { | |
apcu_delete($cid); | |
} | |
} |