Class DownloadSync
Downloads and Amazon S3 bucket to a local directory
- Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
-
Aws\S3\Sync\AbstractSync
-
Aws\S3\Sync\DownloadSync
Methods summary
-
protectedcreateTransferAction ( SplFileInfo $file )Create a command or special transfer action for the
-
protectedcreateDirectory ( mixed $filename ) -
protectedfilterCommands ( array $commands ) -
protectedtransferCommands ( array $commands )Transfer an array of commands in parallel
Methods detail
Create a command or special transfer action for the
Parameters
- $file
SplFileInfo
$file File used to build the transfer
Returns
CommandInterface|callableCodeCoverageIgnore
Transfer an array of commands in parallel
Parameters
- $commands
array
$commands Commands to transfer
Overrides
Methods inherited from Aws\S3\Sync\AbstractSync
__construct(),
getAllEvents(),
init(),
transfer(),
transferFiles()
Methods inherited from Guzzle\Common\AbstractHasDispatcher
addSubscriber(),
dispatch(),
getEventDispatcher(),
setEventDispatcher()
Magic methods summary
Constants summary
Constants inherited from Aws\S3\Sync\AbstractSync
AFTER_TRANSFER,
BEFORE_TRANSFER