You are here

public function InputOption::getShortcut in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Input/InputOption.php \Symfony\Component\Console\Input\InputOption::getShortcut()

Returns the option shortcut.

Return value

string The shortcut

1 call to InputOption::getShortcut()
InputOption::equals in vendor/symfony/console/Input/InputOption.php
Checks whether the given option equals this one.

File

vendor/symfony/console/Input/InputOption.php, line 93

Class

InputOption
Represents a command line option.

Namespace

Symfony\Component\Console\Input

Code

public function getShortcut() {
  return $this->shortcut;
}