function Process::clearOutput
Clears the process output.
Return value
$this
1 call to Process::clearOutput()
- Process::getIterator in vendor/
symfony/ process/ Process.php - Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).
File
-
vendor/
symfony/ process/ Process.php, line 692
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
public function clearOutput() : static {
ftruncate($this->stdout, 0);
fseek($this->stdout, 0);
$this->incrementalOutputOffset = 0;
return $this;
}