Created RedisFactory which will create the redis adapter for the redis lock

This commit is contained in:
Alejandro Celaya
2019-08-07 14:17:15 +02:00
parent dcfb12f454
commit 1e294fe1bc
6 changed files with 70 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\Common;
use Doctrine\Common\Cache as DoctrineCache;
return [
'dependencies' => [
'factories' => [
DoctrineCache\Cache::class => Cache\CacheFactory::class,
Cache\RedisFactory::SERVICE_NAME => Cache\RedisFactory::class,
],
],
];