buildRequest public

This commit is contained in:
Mathieu 2024-01-17 14:27:13 +00:00
parent 767a246419
commit 21b37c66e4

View File

@ -74,7 +74,12 @@ class MultiDownloaderClient
return $this; 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 array_map(function (FileRequest $file) {
return $file->toArray(); return $file->toArray();