Symfony\Component\Console\Input\InputDefinition::hasShortcut
Returns true if an InputOption object exists by shortcut.
Signature
public function hasShortcut(string
$name )
Parameters
$name
— string- The InputOption shortcut
Returns
- Boolean
- true if the InputOption object exists, false otherwise