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
close()
public
close() : void
content()
public
content() : string
Return values
stringisOpen()
public
isOpen() : bool
Return values
booliterate()
public
iterate([int $length = 1 ]) : Generator
Parameters
- $length : int = 1
Return values
Generatorpath()
public
path() : Path
Return values
Pathread()
public
read(int $length, int $offset) : string
Parameters
- $length : int
- $offset : int
Return values
stringreadLines()
public
readLines([string $separator = "
" ][, int|null $length = null ]) : Generator
Parameters
- $separator : string = " "
- $length : int|null = null
Return values
Generatorsize()
public
size() : int|null