You are here

public function Process::clearOutput in Zircon Profile 8.0

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

Clears the process output.

Return value

Process

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function clearOutput() {
  $this->stdout = '';
  $this->incrementalOutputOffset = 0;
  return $this;
}