original_string: public function getSynopsis($short = false)
      {
          $key = $short ? 'short' : 'long';
  
          if (!isset($this->synopsis[$key])) {
              $this->synopsis[$key] = trim(sprintf('%s %s', $this->name, $this->definition->getSynopsis($short)));
          }
  
          return $this->synopsis[$key];
      }
code: public function getSynopsis($short = false)
      {
          $key = $short ? 'short' : 'long';
  
          if (!isset($this->synopsis[$key])) {
              $this->synopsis[$key] = trim(sprintf('%s %s', $this->name, $this->definition->getSynopsis($short)));
          }
  
          return $this->synopsis[$key];
      }
code_tokens: public function getSynopsis ( $ short = false ) { $ key = $ short ? 'short' : 'long' ; if ( ! isset ( $ this -> synopsis [ $ key ] ) ) { $ this -> synopsis [ $ key ] = trim ( sprintf ( '%s %s' , $ this -> name , $ this -> definition -> getSynopsis ( $ short ) ) ) ; } return $ this -> synopsis [ $ key ] ; }
docstring: Returns the synopsis for the command.
  
  @param bool $short Whether to show the short version of the synopsis (with options folded) or not
  
  @return string The synopsis
docstring_tokens: Returns the synopsis for the command .