xgbnl / dingo

dev-main 2023-09-05 07:58 UTC

This package is auto-updated.

Last update: 2024-09-05 10:10:21 UTC


README

关于象

为了自定义缓存驱动程序连接,请调用 ServiceProvider 中的 RedisClientwithConnection 方法。

namespace App\Providers;

use Elephant\Support\Facades\RedisClient;

class ServiceProvider 
{

    public function register():void
    {
        RedisClient::withConnection('custom_connection');
    }

}