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