handle(); } abstract protected function handle(): string; abstract protected function getExtension(): string; protected function filename(): string { return $this->report->accession_number . '.' . $this->getExtension(); } }