public function readCommand(string $queueName, string $id) : string { $serialized = $this->adapter->hGet("{$this->namespace}:{$queueName}:messages", $id); if ($serialized === null) { throw new CommandNotFoundException(); } return $serialized; }