class Apcu4Backend

Stores cache items in the Alternative PHP Cache User Cache (APCu).

This class is used with APCu versions >= 4.0.0 and < 5.0.0.

Hierarchy

Expanded class hierarchy of Apcu4Backend

Deprecated

in drupal:8.8.0 and is removed from from drupal:9.0.0. Use \Drupal\Core\Cache\ApcuBackend instead.

See also

https://www.drupal.org/node/3063510

File

core/lib/Drupal/Core/Cache/Apcu4Backend.php, line 17

Namespace

Drupal\Core\Cache
View source
class Apcu4Backend extends ApcuBackend {
  
  /**
   * {@inheritdoc}
   *
   * @return \APCIterator
   */
  protected function getIterator($search = NULL, $format = APC_ITER_ALL, $chunk_size = 100, $list = APC_LIST_ACTIVE) {
    return new \APCIterator('user', $search, $format, $chunk_size, $list);
  }

}

Members

Title Sort descending Modifiers Object type Summary
Apcu4Backend::getIterator protected function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.