MGDigital\BusQue\Redis\RedisDriver::readCommand PHP Method

readCommand() public method

public readCommand ( string $queueName, string $id ) : string
$queueName string
$id string
return string
    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;
    }