/** * @param string $tag * * @return array */ private function tagEntries($tag) { return $this->client->sMembers($this->formatKey($tag, self::KEYS)) ?: []; }
/** * @return mixed */ public function listQueues() { $queues = $this->redis->sMembers(self::QUEUE_KEY); return $queues; }