class KeyValueNullExpirableFactory in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory
Defines the key/value store factory for the null backend.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface
Expanded class hierarchy of KeyValueNullExpirableFactory
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueNullExpirableFactory.php, line 8
Namespace
Drupal\Core\KeyValueStoreView source
class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface {
/**
* {@inheritdoc}
*/
public function get($collection) {
return new NullStorageExpirable($collection);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
KeyValueNullExpirableFactory:: |
public | function |
Constructs a new expirable key/value store for a given collection name. Overrides KeyValueExpirableFactoryInterface:: |