Symfony\Component\Console\Input\InputDefinition::shortcutToName
Returns the InputOption name given a shortcut.
Signature
private function shortcutToName(string
$shortcut )
Parameters
$shortcut
— string- The shortcut
Returns
- string
- The InputOption name
Errors/Exceptions
-
InvalidArgumentException
- When option given does not exist