friendica-github/static/strategies.config.php

36 lines
1.5 KiB
PHP
Raw Permalink Normal View History

<?php
2024-08-24 12:38:14 +00:00
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
2023-07-22 21:57:38 +00:00
use Friendica\Core\Cache;
2023-07-26 21:02:09 +00:00
use Friendica\Core\Hooks\Util\StrategiesFileManager;
2023-07-16 16:38:41 +00:00
use Friendica\Core\Logger\Type;
2023-07-23 01:15:59 +00:00
use Friendica\Core\KeyValueStorage;
2023-07-23 01:19:38 +00:00
use Friendica\Core\PConfig;
2023-07-16 16:38:41 +00:00
use Psr\Log;
return [
Log\LoggerInterface::class => [
2023-07-26 21:02:09 +00:00
Log\NullLogger::class => [StrategiesFileManager::STRATEGY_DEFAULT_KEY],
Type\SyslogLogger::class => [Type\SyslogLogger::NAME],
Type\StreamLogger::class => [Type\StreamLogger::NAME],
],
2023-07-22 21:57:38 +00:00
Cache\Capability\ICanCache::class => [
2023-07-26 21:02:09 +00:00
Cache\Type\DatabaseCache::class => [Cache\Type\DatabaseCache::NAME, StrategiesFileManager::STRATEGY_DEFAULT_KEY],
Cache\Type\APCuCache::class => [Cache\Type\APCuCache::NAME],
Cache\Type\MemcacheCache::class => [Cache\Type\MemcacheCache::NAME],
Cache\Type\MemcachedCache::class => [Cache\Type\MemcachedCache::NAME],
Cache\Type\RedisCache::class => [Cache\Type\RedisCache::NAME],
2023-07-23 01:15:59 +00:00
],
2023-07-23 01:21:41 +00:00
KeyValueStorage\Capability\IManageKeyValuePairs::class => [
2023-07-26 21:02:09 +00:00
KeyValueStorage\Type\DBKeyValueStorage::class => [KeyValueStorage\Type\DBKeyValueStorage::NAME, StrategiesFileManager::STRATEGY_DEFAULT_KEY],
2023-07-23 01:15:59 +00:00
],
2023-07-23 01:19:38 +00:00
PConfig\Capability\IManagePersonalConfigValues::class => [
2023-07-26 21:02:09 +00:00
PConfig\Type\JitPConfig::class => [PConfig\Type\JitPConfig::NAME],
PConfig\Type\PreloadPConfig::class => [PConfig\Type\PreloadPConfig::NAME, StrategiesFileManager::STRATEGY_DEFAULT_KEY],
2023-07-23 01:19:38 +00:00
],
];