original_string: public function getCommand()
      {
          $options = $this->getOptions();
          $arguments = $this->getArguments();
  
          $to = null;
          $from = $arguments['from'];
  
          if (true === isset($arguments['to'])) {
              $to = $arguments['to'];
          }
  
          array_walk($options, function (&$option) {
              $option = '--' . $option;
          });
  
          array_walk($arguments, function (&$value, $argument) {
              $value = '--' . $argument . '=' . $value;
          });
  
          return trim(sprintf('%s %s %s', $this->getBaseCommand(), $this->getRange($from, $to), join(' ', $options)));
      }
code: public function getCommand()
      {
          $options = $this->getOptions();
          $arguments = $this->getArguments();
  
          $to = null;
          $from = $arguments['from'];
  
          if (true === isset($arguments['to'])) {
              $to = $arguments['to'];
          }
  
          array_walk($options, function (&$option) {
              $option = '--' . $option;
          });
  
          array_walk($arguments, function (&$value, $argument) {
              $value = '--' . $argument . '=' . $value;
          });
  
          return trim(sprintf('%s %s %s', $this->getBaseCommand(), $this->getRange($from, $to), join(' ', $options)));
      }
code_tokens: public function getCommand ( ) { $ options = $ this -> getOptions ( ) ; $ arguments = $ this -> getArguments ( ) ; $ to = null ; $ from = $ arguments [ 'from' ] ; if ( true === isset ( $ arguments [ 'to' ] ) ) { $ to = $ arguments [ 'to' ] ; } array_walk ( $ options , function ( & $ option ) { $ option = '--' . $ option ; } ) ; array_walk ( $ arguments , function ( & $ value , $ argument ) { $ value = '--' . $ argument . '=' . $ value ; } ) ; return trim ( sprintf ( '%s %s %s' , $ this -> getBaseCommand ( ) , $ this -> getRange ( $ from , $ to ) , join ( ' ' , $ options ) ) ) ; }
docstring: Returns the compiled VCS log command.
  
  @return string
docstring_tokens: Returns the compiled VCS log command .