interface KeyValueFactoryInterface (View source)

Defines the key/value store factory interface.

Methods

get(string $collection)

Constructs a new key/value store for a given collection name.

Details

KeyValueStoreInterface get(string $collection)

Constructs a new key/value store for a given collection name.

Parameters

string $collection

The name of the collection holding key and value pairs.

Return Value

KeyValueStoreInterface

A key/value store implementation for the given $collection.