Move Cache to strategies
This commit is contained in:
parent
f1da323b07
commit
f2c02a79b9
12 changed files with 98 additions and 119 deletions
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
use Friendica\Core\Hooks\Capabilities\BehavioralHookType as H;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Logger\Type;
|
||||
use Psr\Log;
|
||||
|
||||
|
@ -29,4 +29,11 @@ return [
|
|||
Type\SyslogLogger::class => ['syslog'],
|
||||
Type\StreamLogger::class => ['stream'],
|
||||
],
|
||||
Cache\Capability\ICanCache::class => [
|
||||
Cache\Type\APCuCache::class => ['apcu'],
|
||||
Cache\Type\DatabaseCache::class => ['database', ''],
|
||||
Cache\Type\MemcacheCache::class => ['memcache'],
|
||||
Cache\Type\MemcachedCache::class => ['memcached'],
|
||||
Cache\Type\RedisCache::class => ['redis'],
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue