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