Predis\Connection\AbstractConnection::addConnectCommand PHP Method

addConnectCommand() public method

public addConnectCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface
    public function addConnectCommand(CommandInterface $command)
    {
        $this->initCommands[] = $command;
    }