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