public function Input::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Input/Input.php \Symfony\Component\Console\Input\Input::__construct()
Constructor.
Parameters
InputDefinition $definition A InputDefinition instance:
2 calls to Input::__construct()
- ArgvInput::__construct in vendor/
symfony/ console/ Input/ ArgvInput.php - Constructor.
- ArrayInput::__construct in vendor/
symfony/ console/ Input/ ArrayInput.php - Constructor.
2 methods override Input::__construct()
- ArgvInput::__construct in vendor/
symfony/ console/ Input/ ArgvInput.php - Constructor.
- ArrayInput::__construct in vendor/
symfony/ console/ Input/ ArrayInput.php - Constructor.
File
- vendor/
symfony/ console/ Input/ Input.php, line 40
Class
- Input
- Input is the base class for all concrete Input classes.
Namespace
Symfony\Component\Console\InputCode
public function __construct(InputDefinition $definition = null) {
if (null === $definition) {
$this->definition = new InputDefinition();
}
else {
$this
->bind($definition);
$this
->validate();
}
}