comparison core/lib/Drupal/Core/Cache/Apcu4Backend.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }