CloudinaryApi
Table of Contents
-
$client
: Cloudinary
-
$uploadApi
: UploadApi
-
__construct()
: mixed
-
uploadAsync()
: PromiseInterface
$client
protected
Cloudinary
$client
$uploadApi
protected
UploadApi
$uploadApi
__construct()
public
__construct(string $cloudName, string $apiKey, string $apiSecret) : mixed
Parameters
-
$cloudName
: string
-
-
$apiKey
: string
-
-
$apiSecret
: string
-
Return values
mixed
—
uploadAsync()
public
uploadAsync(string $file[, array<string|int, mixed> $options = [] ]) : PromiseInterface
Parameters
-
$file
: string
-
-
$options
: array<string|int, mixed>
= []
-
-
throws
-
ApiError
Return values
PromiseInterface
—