feat : cache Adapter

This commit is contained in:
2025-09-05 14:12:56 +08:00
parent 80ba5dcbf8
commit d43d38d820
7 changed files with 140 additions and 4 deletions

View File

@@ -9,5 +9,12 @@ declare(strict_types=1);
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use App\Interface\Test\Adapter\CacheInterface;
use App\Service\Test\Adapter\Cache\FileCacheAdapter;
use App\Service\Test\Adapter\Cache\RedisCacheService;
return [
CacheInterface::class => RedisCacheService::class,
// CacheInterface::class => FileCacheAdapter::class,
];