Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
KeyValueNullExpirableFactory | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
get | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory. | |
*/ | |
namespace Drupal\Core\KeyValueStore; | |
/** | |
* Defines the key/value store factory for the null backend. | |
*/ | |
class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function get($collection) { | |
return new NullStorageExpirable($collection); | |
} | |
} |