SDK for PHP V3

DirectoryDownloader
in package
implements PromisorInterface

FinalYes

Table of Contents

Interfaces

PromisorInterface
Interface used with classes that return a promise.

Methods

__construct()  : mixed
promise()  : PromiseInterface
Returns a promise.

Methods

__construct()

public __construct(S3ClientInterface $s3Client, array<string|int, mixed> $config, Closure $downloadFile, DownloadDirectoryRequest $downloadDirectoryRequest) : mixed
Parameters
$s3Client : S3ClientInterface
$config : array<string|int, mixed>
$downloadFile : Closure

A closure that receives (S3ClientInterface, DownloadFileRequest) and returns PromiseInterface

$downloadDirectoryRequest : DownloadDirectoryRequest
<-- modeled_exceptions -->
On this page