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

Breadcrumb

  1. Drupal Core 11.1.x

ApcuFileCacheBackend.php

Namespace

Drupal\Component\FileCache

File

core/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php

View source
<?php

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);
    }

}

Classes

Title Deprecated Summary
ApcuFileCacheBackend APCu backend for the file cache.

API Navigation

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