Elgg  Version 6.1
EntityCache.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Cache;
4 
5 use Elgg\Config;
6 
12 class EntityCache extends CacheService {
13 
19  public function __construct(protected Config $config) {
21 
22  $this->cache = new CompositeCache('entity_cache', $this->config, $flags);
23  }
24 }
$config
Advanced site settings, debugging section.
Definition: debugging.php:6
Composite cache pool.
Volatile cache for entities.
Definition: EntityCache.php:12
__construct(protected Config $config)
Constructor.
Definition: EntityCache.php:19