Interfaces, Classes, Traits and Enums
- CollectionManagerInterface
Table of Contents
-
$bucketName
: string
-
$client
: Client
-
__construct()
: mixed
-
createCollection()
: mixed
-
createScope()
: mixed
-
dropCollection()
: mixed
-
dropScope()
: mixed
-
getAllScopes()
: array<string|int, mixed>
-
updateCollection()
: mixed
$bucketName
private
string
$bucketName
$client
private
Client
$client
__construct()
public
__construct(string $bucketName, Client $client) : mixed
Parameters
-
$bucketName
: string
-
-
$client
: Client
-
Return values
mixed
—
createCollection()
public
createCollection(mixed $scopeName[, mixed $collectionName = null ][, mixed $settings = null ][, mixed $options = null ]) : mixed
Parameters
-
$scopeName
: mixed
-
-
$collectionName
: mixed
= null
-
-
$settings
: mixed
= null
-
-
$options
: mixed
= null
-
-
throws
-
InvalidArgumentException
Return values
mixed
—
createScope()
public
createScope(string $name[, CreateScopeOptions $options = null ]) : mixed
Parameters
-
$name
: string
-
-
$options
: CreateScopeOptions
= null
-
Return values
mixed
—
dropCollection()
public
dropCollection(mixed $scopeName[, mixed $collectionName = null ][, mixed $options = null ]) : mixed
Parameters
-
$scopeName
: mixed
-
-
$collectionName
: mixed
= null
-
-
$options
: mixed
= null
-
Return values
mixed
—
dropScope()
public
dropScope(string $name[, DropScopeOptions $options = null ]) : mixed
Parameters
-
$name
: string
-
-
$options
: DropScopeOptions
= null
-
Return values
mixed
—
getAllScopes()
public
getAllScopes([GetAllScopesOptions $options = null ]) : array<string|int, mixed>
Parameters
-
$options
: GetAllScopesOptions
= null
-
Return values
array<string|int, mixed>
—
updateCollection()
public
updateCollection(string $scopeName, string $collectionName, UpdateCollectionSettings $settings[, UpdateCollectionOptions $options = null ]) : mixed
Parameters
-
$scopeName
: string
-
-
$collectionName
: string
-
-
$settings
: UpdateCollectionSettings
-
-
$options
: UpdateCollectionOptions
= null
-
-
throws
-
UnsupportedOperationException
Return values
mixed
—