function Process::resetProcessData
Resets data related to the latest run of the process.
2 calls to Process::resetProcessData()
- Process::start in vendor/
symfony/ process/ Process.php - Starts the process and returns after writing the input to STDIN.
- Process::__clone in vendor/
symfony/ process/ Process.php
File
-
vendor/
symfony/ process/ Process.php, line 1466
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
private function resetProcessData() : void {
$this->starttime = null;
$this->callback = null;
$this->exitcode = null;
$this->fallbackStatus = [];
$this->processInformation = [];
$this->stdout = fopen('php://temp/maxmemory:' . 1024 * 1024, 'w+');
$this->stderr = fopen('php://temp/maxmemory:' . 1024 * 1024, 'w+');
$this->process = null;
$this->latestSignal = null;
$this->status = self::STATUS_READY;
$this->incrementalOutputOffset = 0;
$this->incrementalErrorOutputOffset = 0;
}