public function InputInterface::setOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Input/InputInterface.php \Symfony\Component\Console\Input\InputInterface::setOption()
Sets an option value by name.
Parameters
string $name The option name:
string|bool $value The option value:
Throws
\InvalidArgumentException When option given doesn't exist
1 method overrides InputInterface::setOption()
- Input::setOption in vendor/
symfony/ console/ Input/ Input.php - Sets an option value by name.
File
- vendor/
symfony/ console/ Input/ InputInterface.php, line 128
Class
- InputInterface
- InputInterface is the interface implemented by all input classes.
Namespace
Symfony\Component\Console\InputCode
public function setOption($name, $value);