You are here

public function InputInterface::setArgument in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Input

Code

public function setArgument($name, $value);