3 namespace Drupal\Core\KeyValueStore;
6 * Defines the expirable key/value store factory interface.
8 interface KeyValueExpirableFactoryInterface {
11 * Constructs a new expirable 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\KeyValueStoreExpirableInterface
17 * An expirable key/value store implementation for the given $collection.
19 public function get($collection);