3 namespace Friendica\Core\Config;
8 * This class is responsible for all system-wide configuration values in Friendica
9 * There are two types of storage
10 * - The Config-Files (loaded into the FileCache @see Cache\ConfigCache)
11 * - The Config-DB-Table (per Config-DB-model @see Model\Config\Config)
13 abstract class Configuration implements IConfiguration
16 * @var Cache\ConfigCache
18 protected $configCache;
21 * @var Model\Config\Config
23 protected $configModel;
26 * @param Cache\ConfigCache $configCache The configuration cache (based on the config-files)
27 * @param Model\Config\Config $configModel The configuration model
29 public function __construct(Cache\ConfigCache $configCache, Model\Config\Config $configModel)
31 $this->configCache = $configCache;
32 $this->configModel = $configModel;
38 public function getCache()
40 return $this->configCache;