public function Process::setStdin

Sets the contents of STDIN.

Parameters

string $stdin The new contents:

Return value

self The current Process instance

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php, line 973

Class

Process
Process is a thin wrapper around proc_* functions to ease start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function setStdin($stdin) {
  $this->stdin = $stdin;
  return $this;
}