Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / KeyValueStore / KeyValueExpirableFactoryInterface.php
1 <?php
2
3 namespace Drupal\Core\KeyValueStore;
4
5 /**
6  * Defines the expirable key/value store factory interface.
7  */
8 interface KeyValueExpirableFactoryInterface {
9
10   /**
11    * Constructs a new expirable 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\KeyValueStoreExpirableInterface
17    *   An expirable key/value store implementation for the given $collection.
18    */
19   public function get($collection);
20
21 }