function BufferIO::setUserInputs
Parameters
string[] $inputs:
See also
createStream
File
-
vendor/
composer/ composer/ src/ Composer/ IO/ BufferIO.php, line 75
Class
- BufferIO
- @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\IOCode
public function setUserInputs(array $inputs) : void {
if (!$this->input instanceof StreamableInputInterface) {
throw new \RuntimeException('Setting the user inputs requires at least the version 3.2 of the symfony/console component.');
}
$this->input
->setStream($this->createStream($inputs));
$this->input
->setInteractive(true);
}