Lines Matching refs:input
17 * Provides a way to continuously write to the input of a Process until the InputStream is closed.
27 private $input = [];
39 * Appends an input to the write buffer.
41 * @param resource|string|int|float|bool|\Traversable|null $input The input to append as scalar,
44 public function write($input)
46 if (null === $input) {
52 $this->input[] = ProcessUtils::validateInput(__METHOD__, $input);
79 while ($this->open || $this->input) {
80 if (!$this->input) {
84 $current = array_shift($this->input);
91 if (!$this->input && $this->open && null !== $onEmpty = $this->onEmpty) {