3 namespace Friendica\Core\Config;
8 * This class is responsible for the user-specific configuration values in Friendica
9 * The values are set through the Config-DB-Table (per Config-DB-model @see Model\Config\PConfig)
11 * The configuration cache (@see Cache\PConfigCache) is used for temporary caching of database calls. This will
12 * increase the performance.
14 abstract class PConfiguration implements IPConfiguration
17 * @var Cache\PConfigCache
19 protected $configCache;
22 * @var Model\Config\PConfig
24 protected $configModel;
27 * @param Cache\PConfigCache $configCache The configuration cache
28 * @param Model\Config\PConfig $configModel The configuration model
30 public function __construct(Cache\PConfigCache $configCache, Model\Config\PConfig $configModel)
32 $this->configCache = $configCache;
33 $this->configModel = $configModel;
37 * Returns the Config Cache
39 * @return Cache\PConfigCache
41 public function getCache()
43 return $this->configCache;