SDK for PHP V3

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.
getSingleObjectListeners()  : array<string|int, mixed>
Get listeners that should receive single-object events.
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[, array<string|int, mixed> $singleObjectListeners = [] ]) : mixed
Parameters
$listeners : array<string|int, mixed>
$progressTracker : AbstractTransferListener|null
$config : array<string|int, mixed>
$singleObjectListeners : array<string|int, mixed> = []

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>

getSingleObjectListeners()

Get listeners that should receive single-object events.

public getSingleObjectListeners() : array<string|int, mixed>
Return values
array<string|int, mixed>

updateConfigWithDefaults()

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
<-- modeled_exceptions -->
On this page