/** * {@inheritdoc} * * @param string $sessionId Session variable name * @return string */ public function read($sessionId) { $key = $this->buildKey($sessionId); $status = $this->db->get($key, $record); if ($status != AerospikeDb::OK) { return false; } return base64_decode($record['bins']['value']); }