buildRequest public
This commit is contained in:
1 parent
767a246419
commit
21b37c66e4
1 file changed
+6
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user