mirror of
https://github.com/friendica/friendica
synced 2025-04-28 01:10:12 +00:00
Added first version of ConfigCacheSaver
This commit is contained in:
parent
dda26a46f5
commit
383a6715c3
14 changed files with 409 additions and 68 deletions
|
@ -6,15 +6,16 @@ use Friendica\Core;
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Config\Adapter;
|
||||
use Friendica\Core\Config\Cache;
|
||||
use Friendica\Util\Config\ConfigCacheLoader;
|
||||
|
||||
class ConfigFactory
|
||||
{
|
||||
/**
|
||||
* @param Cache\ConfigCacheLoader $loader The Config Cache loader (INI/config/.htconfig)
|
||||
* @param ConfigCacheLoader $loader The Config Cache loader (INI/config/.htconfig)
|
||||
*
|
||||
* @return Cache\ConfigCache
|
||||
*/
|
||||
public static function createCache(Cache\ConfigCacheLoader $loader)
|
||||
public static function createCache(ConfigCacheLoader $loader)
|
||||
{
|
||||
$configCache = new Cache\ConfigCache();
|
||||
$loader->loadConfigFiles($configCache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue