AbstractTransferRequest
in package
AbstractYes
Table of Contents
Properties
- $configKeys : array<string|int, mixed>
Methods
- __construct() : mixed
- getConfig() : array<string|int, mixed>
- getListeners() : array<string|int, mixed>
- Get current listeners.
- getProgressTracker() : AbstractTransferListener|null
- Get the progress tracker.
- getS3Client() : S3ClientInterface|null
- updateConfigWithDefaults() : void
- validateConfig() : void
- For validating config. By default, it provides an empty implementation.
Properties
$configKeys
public
static array<string|int, mixed>
$configKeys
= ['track_progress' => 'bool']
Methods
__construct()
public
__construct(array<string|int, mixed> $listeners, AbstractTransferListener|null $progressTracker, array<string|int, mixed> $config[, S3ClientInterface|null $s3Client = null ]) : mixed
Parameters
- $listeners : array<string|int, mixed>
- $progressTracker : AbstractTransferListener|null
- $config : array<string|int, mixed>
- $s3Client : S3ClientInterface|null = null
getConfig()
public
getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>getListeners()
Get current listeners.
public
getListeners() : array<string|int, mixed>
Return values
array<string|int, mixed>getProgressTracker()
Get the progress tracker.
public
getProgressTracker() : AbstractTransferListener|null
Return values
AbstractTransferListener|nullgetS3Client()
public
getS3Client() : S3ClientInterface|null
Return values
S3ClientInterface|nullupdateConfigWithDefaults()
public
updateConfigWithDefaults(array<string|int, mixed> $defaultConfig) : void
Parameters
- $defaultConfig : array<string|int, mixed>
validateConfig()
For validating config. By default, it provides an empty implementation.
public
validateConfig() : void