Flow PHP

AsyncAWSS3SourceStream implements SourceStream

FinalYes

Interfaces

SourceStream

Methods

__construct()  : mixed
close()  : void
content()  : string
isOpen()  : bool
iterate()  : Generator
path()  : Path
read()  : string
readLines()  : Generator
size()  : int|null

Methods

__construct()

public __construct(Path $path, string $bucket, S3Client $s3Client) : mixed
Parameters
$path : Path
$bucket : string
$s3Client : S3Client

iterate()

public iterate([int $length = 1 ]) : Generator
Parameters
$length : int = 1
Return values
Generator

read()

public read(int $length, int $offset) : string
Parameters
$length : int
$offset : int
Return values
string

readLines()

public readLines([string $separator = " " ][, int|null $length = null ]) : Generator
Parameters
$separator : string = " "
$length : int|null = null
Return values
Generator

        
On this page

Search results