Metaphore\Store\PredisStore::set PHP Method

set() public method

public set ( $key, $value, $ttl )
    public function set($key, $value, $ttl)
    {
        return $this->predis->set($key, serialize($value), "EX", $ttl);
    }