Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / Cache / Apcu4Backend.php
1 <?php
2
3 namespace Drupal\Core\Cache;
4
5 /**
6  * Stores cache items in the Alternative PHP Cache User Cache (APCu).
7  *
8  * This class is used with APCu versions >= 4.0.0 and < 5.0.0.
9  */
10 class Apcu4Backend extends ApcuBackend {
11
12   /**
13    * {@inheritdoc}
14    *
15    * @return \APCIterator
16    */
17   protected function getIterator($search = NULL, $format = APC_ITER_ALL, $chunk_size = 100, $list = APC_LIST_ACTIVE) {
18     return new \APCIterator('user', $search, $format, $chunk_size, $list);
19   }
20
21 }