Predis\Connection\AbstractConnection::addConnectCommand PHP Méthode

addConnectCommand() public méthode

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