botman/tinker

Use redis cache on tinker

Closed this issue · 1 comments

hello when I try to use the Redis cache driver, I have a problem

Change BotManTinker Command file

$botman = BotManFactory::create($config, new RedisCache());

When I try to handle an exception triggered

[Exception] Serialization of 'Closure' is not allowed

Tinker does not need to cache responses. That's why it only runs with the ArrayCache hardcoded.