From 21b37c66e432675a5d9edc57819afd70f36ef4ff Mon Sep 17 00:00:00 2001 From: Mathieu Date: Wed, 17 Jan 2024 14:27:13 +0000 Subject: [PATCH] buildRequest public --- src/MultiDownloaderClient.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/MultiDownloaderClient.php b/src/MultiDownloaderClient.php index 9bc677d..7469f6a 100644 --- a/src/MultiDownloaderClient.php +++ b/src/MultiDownloaderClient.php @@ -74,7 +74,12 @@ class MultiDownloaderClient return $this; } - private function buildRequest(): array + /** + * Construit la requête de téléchargement. + * + * @return array La requête de téléchargement. + */ + public function buildRequest(): array { return array_map(function (FileRequest $file) { return $file->toArray();