app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php
public function download($workOrderId, $attachmentId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        $attachment = $workOrder->attachments()->findOrFail($attachmentId);

        return response()->download($attachment->download_path);
    }
public function download($workOrderId, $attachmentId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        $attachment = $workOrder->attachments()->findOrFail($attachmentId);

        return response()->download($attachment->download_path);
    }
Prompts the user to download the specified uploaded file.

@param int|string $workOrderId
@param int|string $attachmentId

@return \Symfony\Component\HttpFoundation\BinaryFileResponse