Tp5 uses redis, to add extension guidance

how do you tp5 encapsulate the extension function of redis? Because there are only simple functions of set and get by default, guide me.

Feb.27,2021

$cache = Cache::init();
// 
$redis = $cache->handler();
$redis->hmset();
$redis->lpop();

Menu