You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2021. It is now read-only.
use Psr\Cache\CacheItemPoolInterface;
use Psr\SimpleCache\CacheInterface;
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
use Symfony\Component\Cache\Psr16Cache;
use Symfony\Component\Cache\Simple\FilesystemCache;
use Psr\SimpleCache\CacheInterface as SimpleCacheInterface;
use EasyWeChat\Kernel\Exceptions\InvalidArgumentException;
如何替换easydingtalk自带的缓存。使用redis替代 目前我的做法是修改包里的代码 把缓存那边获取改了参照 easyWeChat改的
代码如下
`namespace EasyDingTalk\Kernel\Concerns;
use Psr\Cache\CacheItemPoolInterface;
use Psr\SimpleCache\CacheInterface;
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
use Symfony\Component\Cache\Psr16Cache;
use Symfony\Component\Cache\Simple\FilesystemCache;
use Psr\SimpleCache\CacheInterface as SimpleCacheInterface;
use EasyWeChat\Kernel\Exceptions\InvalidArgumentException;
trait InteractsWithCache
{
/**
* @var \Psr\SimpleCache\CacheInterface
*/
protected $cache;
}`
The text was updated successfully, but these errors were encountered: