public function append($key, $value) { if (!$this->connected) { return false; } if (isset($this->storage[$key])) { $this->storeData($key, $this->getData($key) . $value); return strlen($this->storage[$key]); } return false; }