1<?php
2
3namespace Drupal\Core\KeyValueStore;
4
5/**
6 * Defines the key/value store factory interface.
7 */
8interface KeyValueFactoryInterface {
9
10  /**
11   * Constructs a new key/value store for a given collection name.
12   *
13   * @param string $collection
14   *   The name of the collection holding key and value pairs.
15   *
16   * @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface
17   *   A key/value store implementation for the given $collection.
18   */
19  public function get($collection);
20
21}
22