public function InputDefinition::getArgumentDefaults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Input/InputDefinition.php \Symfony\Component\Console\Input\InputDefinition::getArgumentDefaults()
Gets the default values.
Return value
array An array of default values
File
- vendor/
symfony/ console/ Input/ InputDefinition.php, line 201
Class
- InputDefinition
- A InputDefinition represents a set of valid command line arguments and options.
Namespace
Symfony\Component\Console\InputCode
public function getArgumentDefaults() {
$values = array();
foreach ($this->arguments as $argument) {
$values[$argument
->getName()] = $argument
->getDefault();
}
return $values;
}