ManaPHP\Cache\Adapter\Redis::set PHP Method

set() public method

public set ( string $key, string $value, integer $ttl ) : void
$key string
$value string
$ttl integer
return void
    public function set($key, $value, $ttl)
    {
        $this->redis->set($this->_prefix . $key, $value, $ttl);
    }