Elgg  Version 3.0
DataCache.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Cache;
4 
14 class DataCache extends CacheCollection {
15 
23  protected function create($namespace) {
24  return new CompositeCache($namespace, $this->config, ELGG_CACHE_PERSISTENT | ELGG_CACHE_RUNTIME);
25  }
26 
27 }
Composite cache pool.
const ELGG_CACHE_RUNTIME
Definition: constants.php:148
const ELGG_CACHE_PERSISTENT
Definition: constants.php:150
create($namespace)
Create a new cache under a namespace.
Definition: DataCache.php:23
A collection of composite caches.