helperService = $helperService; } public function getModelClass(): string { return Song::class; } public function getOneByPath(string $path): ?Song { return $this->getOneById($this->helperService->getFileHash($path)); } }