class KeyValueNullExpirableFactory in Service Container 7
Same name and namespace in other branches
- 7.2 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
- lib/
Drupal/ Core/ KeyValueStore/ KeyValueNullExpirableFactory.php, line 13 - Contains \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory.
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:: |