filename(); $filepath = ReportStorage::customFilepath($this->study, $filename); if (ReportStorage::exists($this->study, $filename)) { return $filepath; } $html = $this->report->getContent(); file_put_contents(ReportStorage::abspath($filepath), $html); return $filepath; } protected function getExtension(): string { return ExportFormat::Html->value; } }