You are here

public function Process::addOutput in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::addOutput()

Adds a line to the STDOUT stream.

Parameters

string $line The line to append:

File

vendor/symfony/process/Process.php, line 812

Class

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

Namespace

Symfony\Component\Process

Code

public function addOutput($line) {
  $this->lastOutputTime = microtime(true);
  $this->stdout .= $line;
}