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