protected function getRemote()
    {
        if ($this->options['ask-remote-name']) {
            return Context::get('information-collector')->getValueFor('remote');
        }
        if ($this->options['remote-name'] !== null) {
            return $this->options['remote-name'];
        }

        return;
    }
protected function getRemote()
    {
        if ($this->options['ask-remote-name']) {
            return Context::get('information-collector')->getValueFor('remote');
        }
        if ($this->options['remote-name'] !== null) {
            return $this->options['remote-name'];
        }

        return;
    }
protected function getRemote ( ) { if ( $ this -> options [ 'ask-remote-name' ] ) { return Context :: get ( 'information-collector' ) -> getValueFor ( 'remote' ) ; } if ( $ this -> options [ 'remote-name' ] !== null ) { return $ this -> options [ 'remote-name' ] ; } return ; }
Return the remote name where to publish or null if not defined

@return string|null
Return the remote name where to publish or null if not defined