\OC::$server->getTempManager()->getTemporaryFolder()]); } public function cleanUp(): void { \OC_Helper::rmdirr($this->datadir); } public function __destruct() { parent::__destruct(); $this->cleanUp(); } public function getDataDir(): array|string { return $this->datadir; } }