function Input::__construct
4 calls to Input::__construct()
- ArgvInput::__construct in vendor/
symfony/ console/ Input/ ArgvInput.php - ArgvInput::__construct in vendor/
symfony/ console/ Input/ ArgvInput.php - ArrayInput::__construct in vendor/
symfony/ console/ Input/ ArrayInput.php - ArrayInput::__construct in vendor/
symfony/ console/ Input/ ArrayInput.php
2 methods override Input::__construct()
- ArgvInput::__construct in vendor/
symfony/ console/ Input/ ArgvInput.php - ArrayInput::__construct in vendor/
symfony/ console/ Input/ ArrayInput.php
File
-
vendor/
symfony/ console/ Input/ Input.php, line 37
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();
}
}