interface KeyValueStoreExpirableInterface

Defines the interface for expiring data in a key/value store.

Hierarchy

Expanded class hierarchy of KeyValueStoreExpirableInterface

All classes that implement KeyValueStoreExpirableInterface

1 file declares its use of KeyValueStoreExpirableInterface

File

drupal/core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php, line 13
Contains Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface.

Namespace

Drupal\Core\KeyValueStore
View source

Members

Namesort descending Modifiers Type Description Overrides
KeyValueStoreExpirableInterface::setMultipleWithExpire function Saves an array of values with a time to live. 1
KeyValueStoreExpirableInterface::setWithExpire function Saves a value for a given key with a time to live. 1
KeyValueStoreExpirableInterface::setWithExpireIfNotExists function Sets a value for a given key with a time to live if it does not yet exist. 1
KeyValueStoreInterface::delete public function Deletes an item from the key/value store. 1
KeyValueStoreInterface::deleteMultiple public function Deletes multiple items from the key/value store. 2
KeyValueStoreInterface::get public function Returns the stored value for a given key. 1
KeyValueStoreInterface::getAll public function Returns all stored key/value pairs in the collection. 2
KeyValueStoreInterface::getCollectionName public function Returns the name of this collection. 1
KeyValueStoreInterface::getMultiple public function Returns the stored key/value pairs for a given set of keys. 2
KeyValueStoreInterface::set public function Saves a value for a given key. 2
KeyValueStoreInterface::setIfNotExists public function Saves a value for a given key if it does not exist yet. 2
KeyValueStoreInterface::setMultiple public function Saves key/value pairs. 1