original_string: public function shortcutToName($shortcut)
      {
          if (!isset($this->shortcuts[$shortcut])) {
              throw new InvalidArgumentException(sprintf('The "-%s" option does not exist.', $shortcut));
          }
  
          return $this->shortcuts[$shortcut];
      }
code: public function shortcutToName($shortcut)
      {
          if (!isset($this->shortcuts[$shortcut])) {
              throw new InvalidArgumentException(sprintf('The "-%s" option does not exist.', $shortcut));
          }
  
          return $this->shortcuts[$shortcut];
      }
code_tokens: public function shortcutToName ( $ shortcut ) { if ( ! isset ( $ this -> shortcuts [ $ shortcut ] ) ) { throw new InvalidArgumentException ( sprintf ( 'The "-%s" option does not exist.' , $ shortcut ) ) ; } return $ this -> shortcuts [ $ shortcut ] ; }
docstring: Returns the InputOption name given a shortcut.
  
  @param string $shortcut The shortcut
  
  @return string The InputOption name
  
  @throws InvalidArgumentException When option given does not exist
  
  @internal
docstring_tokens: Returns the InputOption name given a shortcut .