public function InputDefinition::setOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Input/InputDefinition.php \Symfony\Component\Console\Input\InputDefinition::setOptions()
Sets the InputOption objects.
Parameters
InputOption[] $options An array of InputOption objects:
1 call to InputDefinition::setOptions()
- InputDefinition::setDefinition in vendor/
symfony/ console/ Input/ InputDefinition.php - Sets the definition of the input.
File
- vendor/
symfony/ console/ Input/ InputDefinition.php, line 216
Class
- InputDefinition
- A InputDefinition represents a set of valid command line arguments and options.
Namespace
Symfony\Component\Console\InputCode
public function setOptions($options = array()) {
$this->options = array();
$this->shortcuts = array();
$this
->addOptions($options);
}