public function shortcutToName($shortcut)
    {
        if (!isset($this->shortcuts[$shortcut])) {
            throw new InvalidArgumentException(sprintf('The "-%s" option does not exist.', $shortcut));
        }

        return $this->shortcuts[$shortcut];
    }
public function shortcutToName($shortcut)
    {
        if (!isset($this->shortcuts[$shortcut])) {
            throw new InvalidArgumentException(sprintf('The "-%s" option does not exist.', $shortcut));
        }

        return $this->shortcuts[$shortcut];
    }
public function shortcutToName ( $ shortcut ) { if ( ! isset ( $ this -> shortcuts [ $ shortcut ] ) ) { throw new InvalidArgumentException ( sprintf ( 'The "-%s" option does not exist.' , $ shortcut ) ) ; } return $ this -> shortcuts [ $ shortcut ] ; }
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
Returns the InputOption name given a shortcut .