Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Cache
ServerCache.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Cache
;
4
5
use
Elgg\Config
;
6
13
class
ServerCache
extends
CacheService
{
14
20
public
function
__construct
(
protected
Config
$config
) {
21
$flags =
CompositeCache::CACHE_LOCALFILESYSTEM
|
CompositeCache::CACHE_RUNTIME
;
22
23
$this->cache =
new
CompositeCache
(
'server_cache'
, $this->config, $flags);
24
25
$this->enabled = (bool) $this->config->system_cache_enabled;
26
}
27
}
Elgg\Cache\CompositeCache\CACHE_RUNTIME
const CACHE_RUNTIME
Definition:
CompositeCache.php:23
Elgg\Config
Definition:
Config.php:140
Config
$config
$config
Advanced site settings, debugging section.
Definition:
debugging.php:6
Elgg\Cache\CompositeCache
Composite cache pool.
Definition:
CompositeCache.php:20
Elgg\Cache\CompositeCache\CACHE_LOCALFILESYSTEM
const CACHE_LOCALFILESYSTEM
Definition:
CompositeCache.php:26
Elgg\Cache
Definition:
AccessCache.php:3
Elgg\Cache\ServerCache
Server Cache.
Definition:
ServerCache.php:13
Elgg\Cache\ServerCache\__construct
__construct(protected Config $config)
Constructor.
Definition:
ServerCache.php:20
Elgg\Cache\CacheService
Cache Service.
Definition:
CacheService.php:11
Generated on Sat Dec 21 2024 00:02:51 for Elgg by
1.8.11