public KeyValueNullExpirableFactory::get($collection)
Constructs a new expirable key/value store for a given collection name.
string $collection: The name of the collection holding key and value pairs.
\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface An expirable key/value store implementation for the given $collection.
Overrides KeyValueExpirableFactoryInterface::get
public function get($collection) { return new NullStorageExpirable($collection); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!KeyValueStore!KeyValueNullExpirableFactory.php/function/KeyValueNullExpirableFactory::get/8.1.x