Symfony\Component\Process\Process::resetProcessData PHP Method

resetProcessData() private method

Resets data related to the latest run of the process.
private resetProcessData ( )
    private function resetProcessData()
    {
        $this->starttime = null;
        $this->callback = null;
        $this->exitcode = null;
        $this->fallbackStatus = array();
        $this->processInformation = null;
        $this->stdout = fopen('php://temp/maxmemory:' . 1024 * 1024, 'wb+');
        $this->stderr = fopen('php://temp/maxmemory:' . 1024 * 1024, 'wb+');
        $this->process = null;
        $this->latestSignal = null;
        $this->status = self::STATUS_READY;
        $this->incrementalOutputOffset = 0;
        $this->incrementalErrorOutputOffset = 0;
    }