You are here

interface KeyValueExpirableFactoryInterface in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface

Defines the expirable key/value store factory interface.

Hierarchy

Expanded class hierarchy of KeyValueExpirableFactoryInterface

All classes that implement KeyValueExpirableFactoryInterface

1 file declares its use of KeyValueExpirableFactoryInterface
KeyValueExpirableFactory.php in src/KeyValueStore/KeyValueExpirableFactory.php
Contains \Drupal\service_container\KeyValueStore\KeyValueExpirableFactory.

File

lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php, line 13
Contains \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface.

Namespace

Drupal\Core\KeyValueStore
View source
interface KeyValueExpirableFactoryInterface {

  /**
   * Constructs a new expirable key/value store for a given collection name.
   *
   * @param string $collection
   *   The name of the collection holding key and value pairs.
   *
   * @return \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
   *   An expirable key/value store implementation for the given $collection.
   */
  public function get($collection);

}

Members

Namesort descending Modifiers Type Description Overrides
KeyValueExpirableFactoryInterface::get public function Constructs a new expirable key/value store for a given collection name. 2