function 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 71
Class
- InputDefinition
- A InputDefinition represents a set of valid command line arguments and options.
Namespace
Symfony\Component\Console\InputCode
public function setArguments(array $arguments = []) : void {
$this->arguments = [];
$this->requiredCount = 0;
$this->lastOptionalArgument = null;
$this->lastArrayArgument = null;
$this->addArguments($arguments);
}