protected function getKeysOfTag($tag) { $data = $this->Couchbase->get($this->tag_prefix . $tag); if (empty($data)) { return false; } $keys = json_decode('[' . ltrim($data, ',') . ']'); return $keys; }