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

@@ -0,0 +1,24 @@
<?php
/**
* This service file is part of item.
*
* @author ctexthuang
* @contact ctexthuang@qq.com
* @web_site https://ctexthuang.com
*/
declare(strict_types=1);
namespace App\Service\Test\Adapter\Cache;
class FileCacheService
{
public function fetch(string $key): array
{
return [
'key' => $key,
'cache' => 'file',
'msg' => 'file cache fetch success'
];
}
}