Redis::processArrayCommand
Actually send a command to the server
protected function processArrayCommand(
$cmd,
array $args,
);
assumes all appropriate prefixing and serialization has been preformed by the caller and constructs a Redis Protocol packet in the form:
*N\r\n
Folled by N instances of:
$L\r\nA
Where L is the length in bytes of argument A.
So for the command GET somekey
we'd serialize as:
"*2\r\n$3\r\nGET\r\n$7\r\nsomekey\r\n"
Parameters
$cmd
array $args