Flow PHP

FilesystemBuckets implements BucketsStorage

FinalYes

Interfaces

BucketsStorage

Methods

__construct()  : mixed
append()  : void
get()  : Generator<string|int, Rows>
Yields the bucket back in batches - batch shape is storage-defined, consumers must not assume any particular batch size.
remove()  : void
set()  : void

Methods

__construct()

public __construct(Filesystem $filesystem, Path $cacheDir[, int<1, max> $batchSize = 1000 ]) : mixed
Parameters
$filesystem : Filesystem
$cacheDir : Path
$batchSize : int<1, max> = 1000

get()

Yields the bucket back in batches - batch shape is storage-defined, consumers must not assume any particular batch size.

public get(string $bucketId) : Generator<string|int, Rows>
Parameters
$bucketId : string
Return values
Generator<string|int, Rows>

remove()

public remove(string $bucketId) : void
Parameters
$bucketId : string
On this page

Search results