You are here

class ApcuFileCacheBackend in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php \Drupal\Component\FileCache\ApcuFileCacheBackend

APCu backend for the file cache.

Hierarchy

Expanded class hierarchy of ApcuFileCacheBackend

File

lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php, line 13
Contains \Drupal\Component\FileCache\ApcuFileCacheBackend.

Namespace

Drupal\Component\FileCache
View 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

Namesort descending Modifiers Type Description Overrides
ApcuFileCacheBackend::delete public function Deletes data from a cache backend. Overrides FileCacheBackendInterface::delete
ApcuFileCacheBackend::fetch public function Fetches data from the cache backend. Overrides FileCacheBackendInterface::fetch
ApcuFileCacheBackend::store public function Stores data into a cache backend. Overrides FileCacheBackendInterface::store