You are here

public function InputOption::getName in Zircon Profile 8.0

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

Returns the option name.

Return value

string The name

1 call to InputOption::getName()
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 103

Class

InputOption
Represents a command line option.

Namespace

Symfony\Component\Console\Input

Code

public function getName() {
  return $this->name;
}