Documentation

BucketManager
in package
implements BucketManagerInterface

Interfaces, Classes, Traits and Enums

BucketManagerInterface

Table of Contents

$core  : resource
createBucket()  : mixed
Create a new bucket.
dropBucket()  : mixed
Drop an existing bucket.
flush()  : mixed
Flush an existing bucket.
getAllBuckets()  : array<string|int, mixed>
Get all buckets.
getBucket()  : BucketSettings
Get an existing bucket.
removeBucket()  : mixed
Remove an existing bucket.
updateBucket()  : mixed
Update an existing bucket.

Properties

Methods

dropBucket()

Drop an existing bucket.

public dropBucket(string $name[, DropBucketOptions|null $options = null ]) : mixed
Parameters
$name : string

the name of the bucket.

$options : DropBucketOptions|null = null

the options to use when dropping the bucket.

Tags
since
4.0.0
Return values
mixed

flush()

Flush an existing bucket.

public flush(string $name[, FlushBucketOptions|null $options = null ]) : mixed
Parameters
$name : string

the name of the bucket.

$options : FlushBucketOptions|null = null

the options to use when flushing the bucket.

Tags
since
4.0.0
Return values
mixed

removeBucket()

Remove an existing bucket.

public removeBucket(string $name) : mixed
Parameters
$name : string

the name of the bucket.

Tags
deprecated

see dropBucket

since
4.0.0
Return values
mixed

        

Search results