/**
* Store a new attachment upon user upload.
+ *
* @throws FileUploadException
*/
public function saveNewUpload(UploadedFile $uploadedFile, int $page_id): Attachment
/**
* Delete a File from the database and storage.
+ *
* @throws Exception
*/
public function deleteFile(Attachment $attachment)
/**
* Store a file in storage with the given filename.
+ *
* @throws FileUploadException
*/
protected function putFileInStorage(UploadedFile $uploadedFile): string