/** * Loads data for the given key. * * @param string $key The store key * * @return string The data associated with the key */ private function load($key) { $this->client->createConnection(); $values = $this->client->get($key); $this->client->close(); return $values; }