Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0 / 0 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\KeyValueStore\KeyValueFactoryInterface. | |
*/ | |
namespace Drupal\Core\KeyValueStore; | |
/** | |
* Defines the key/value store factory interface. | |
*/ | |
interface KeyValueFactoryInterface { | |
/** | |
* Constructs a new 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\KeyValueStoreInterface | |
* A key/value store implementation for the given $collection. | |
*/ | |
public function get($collection); | |
} | |