DirectoryUploader
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 $uploadObject, UploadDirectoryRequest $uploadDirectoryRequest) : mixed
Parameters
- $s3Client : S3ClientInterface
- $config : array<string|int, mixed>
- $uploadObject : Closure
-
A closure that receives (S3ClientInterface, UploadRequest) and returns PromiseInterface
- $uploadDirectoryRequest : UploadDirectoryRequest
promise()
Returns a promise.
public
promise() : PromiseInterface