outputFolder = $outputFolder; $this->maxNesting = $maxNesting; $this->maxStringSize = $maxStringSize; } public function onRun() : void{ MemoryManager::dumpMemory( $this->worker, Path::join($this->outputFolder, "AsyncWorker#" . $this->worker->getAsyncWorkerId()), $this->maxNesting, $this->maxStringSize, new \PrefixedLogger($this->worker->getLogger(), "Memory Dump") ); } }