protected function getBaseQuery()
    {
        $config = $this->getConfig();
        $connector = $this->getConnector();
        /** @var \Gerrie\Component\Connection\SSH $connector  */

        $connector->reset();

        $host = $config['host'];
        if (isset($config['user']) === true) {
            $host = $config['user'] . '@' . $host;
        }
        $connector->addCommandPart($host);
        $connector->addCommandPart('gerrit');

        return $connector;
    }
protected function getBaseQuery()
    {
        $config = $this->getConfig();
        $connector = $this->getConnector();
        /** @var \Gerrie\Component\Connection\SSH $connector  */

        $connector->reset();

        $host = $config['host'];
        if (isset($config['user']) === true) {
            $host = $config['user'] . '@' . $host;
        }
        $connector->addCommandPart($host);
        $connector->addCommandPart('gerrit');

        return $connector;
    }
protected function getBaseQuery ( ) { $ config = $ this -> getConfig ( ) ; $ connector = $ this -> getConnector ( ) ; /** @var \Gerrie\Component\Connection\SSH $connector  */ $ connector -> reset ( ) ; $ host = $ config [ 'host' ] ; if ( isset ( $ config [ 'user' ] ) === true ) { $ host = $ config [ 'user' ] . '@' . $ host ; } $ connector -> addCommandPart ( $ host ) ; $ connector -> addCommandPart ( 'gerrit' ) ; return $ connector ; }
Gets the base ssh query object for all SSH requests.

@return \Gerrie\Component\Connection\SSH
Gets the base ssh query object for all SSH requests .