Flow PHP

AsyncAWSS3DestinationStream implements DestinationStream

FinalYes

Interfaces

DestinationStream

Methods

__construct()  : mixed
append()  : DestinationStream
close()  : void
fromResource()  : DestinationStream
isOpen()  : bool
openAppend()  : self
openBlank()  : self
path()  : Path

Methods

__construct()

public __construct(S3Client $s3Client, string $uploadId, string $bucket, Path $path, Blocks $blocks, BlockList $blockList) : mixed
Parameters
$s3Client : S3Client
$uploadId : string
$bucket : string
$path : Path
$blocks : Blocks
$blockList : BlockList

append()

public append(string $data) : DestinationStream
Parameters
$data : string
Return values
DestinationStream

fromResource()

public fromResource(mixed $resource) : DestinationStream
Parameters
$resource : mixed
Return values
DestinationStream

openAppend()

public static openAppend(S3Client $s3Client, string $bucket, Path $path[, BlockFactory $blockFactory = new NativeLocalFileBlocksFactory() ][, int $blockSize = 1024 * 1024 * 4 ]) : self
Parameters
$s3Client : S3Client
$bucket : string
$path : Path
$blockFactory : BlockFactory = new NativeLocalFileBlocksFactory()
$blockSize : int = 1024 * 1024 * 4
Return values
self

openBlank()

public static openBlank(S3Client $s3Client, string $bucket, Path $path[, BlockFactory $blockFactory = new NativeLocalFileBlocksFactory() ][, int $blockSize = 1024 * 1024 * 4 ]) : self
Parameters
$s3Client : S3Client
$bucket : string
$path : Path
$blockFactory : BlockFactory = new NativeLocalFileBlocksFactory()
$blockSize : int = 1024 * 1024 * 4
Return values
self

        
On this page

Search results