Lines Matching defs:input

59     private $input;
138 * @param mixed $input The input as stream resource, scalar or \Traversable, or null for no input
143 public function __construct(array $command, string $cwd = null, array $env = null, $input = null, ?float $timeout = 60)
163 $this->setInput($input);
185 * @param mixed $input The input as stream resource, scalar or \Traversable, or null for no input
192 public static function fromShellCommandline(string $command, string $cwd = null, array $env = null, $input = null, ?float $timeout = 60)
194 $process = new static([], $cwd, $env, $input, $timeout);
279 * Starts the process and returns after writing the input to STDIN.
287 * the output in real-time while writing the standard input to the process.
332 // See https://unix.stackexchange.com/questions/71205/background-process-pipe-input
404 * from the output in real-time while writing the standard input to the process.
451 * from the output in real-time while writing the standard input to the process.
1156 * Gets the Process input.
1162 return $this->input;
1166 * Sets the input.
1168 * This content will be passed to the underlying process standard input.
1170 * @param string|int|float|bool|resource|\Traversable|null $input The content
1176 public function setInput($input)
1182 $this->input = ProcessUtils::validateInput(__METHOD__, $input);
1291 if ($this->input instanceof \Iterator) {
1292 $this->input->rewind();
1295 $this->processPipes = new WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback);
1297 $this->processPipes = new UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback);