public function ProcessBuilder::setInput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/ProcessBuilder.php \Symfony\Component\Process\ProcessBuilder::setInput()
Sets the input of the process.
Parameters
mixed $input The input as a string:
Return value
Throws
InvalidArgumentException In case the argument is invalid
Passing an object as an input is deprecated since version 2.5 and will be removed in 3.0.
File
- vendor/
symfony/ process/ ProcessBuilder.php, line 178
Class
- ProcessBuilder
- Process builder.
Namespace
Symfony\Component\ProcessCode
public function setInput($input) {
$this->input = ProcessUtils::validateInput(sprintf('%s::%s', __CLASS__, __FUNCTION__), $input);
return $this;
}