Predis\Connection\AbstractConnection::executeCommand PHP Method

executeCommand() public method

public executeCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface
    public function executeCommand(CommandInterface $command)
    {
        $this->writeRequest($command);
        return $this->readResponse($command);
    }