outputFolder = $outputFolder; $this->maxNesting = $maxNesting; $this->maxStringSize = $maxStringSize; } public function onRun(){ global $store; MemoryManager::dumpMemory( ["worker" => $this->worker, "store" => $store], $this->outputFolder . DIRECTORY_SEPARATOR . "AsyncWorker#" . $this->worker->getAsyncWorkerId(), $this->maxNesting, $this->maxStringSize ); } }