You are here

public function InputInterface::getOption in Zircon Profile 8.0

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

Gets an option by name.

Parameters

string $name The name of the option:

Return value

mixed

1 method overrides InputInterface::getOption()
Input::getOption in vendor/symfony/console/Input/Input.php
Returns the option value for a given option name.

File

vendor/symfony/console/Input/InputInterface.php, line 118

Class

InputInterface
InputInterface is the interface implemented by all input classes.

Namespace

Symfony\Component\Console\Input

Code

public function getOption($name);