3 namespace Drupal\Core\KeyValueStore;
6 * Defines the key/value store factory interface.
8 interface KeyValueFactoryInterface {
11 * Constructs a new key/value store for a given collection name.
13 * @param string $collection
14 * The name of the collection holding key and value pairs.
16 * @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface
17 * A key/value store implementation for the given $collection.
19 public function get($collection);