Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ApcuFileCacheBackend.php

class ApcuFileCacheBackend

APCu backend for the file cache.

Hierarchy

  • class \Drupal\Component\FileCache\ApcuFileCacheBackend implements \Drupal\Component\FileCache\FileCacheBackendInterface

Expanded class hierarchy of ApcuFileCacheBackend

File

core/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php, line 8

Namespace

Drupal\Component\FileCache
View source
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);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal