KeyValueStoreExpirableInterface

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

Hierarchy

File

core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php, line 8

Namespace

Drupal\Core\KeyValueStore

Members

Name Modifiers Type Description
KeyValueStoreExpirableInterface::setMultipleWithExpire public function Saves an array of values with a time to live.
KeyValueStoreExpirableInterface::setWithExpire public function Saves a value for a given key with a time to live.
KeyValueStoreExpirableInterface::setWithExpireIfNotExists public function Sets a value for a given key with a time to live if it does not yet exist.
KeyValueStoreInterface::delete public function Deletes an item from the key/value store.
KeyValueStoreInterface::deleteAll public function Deletes all items from the key/value store.
KeyValueStoreInterface::deleteMultiple public function Deletes multiple items from the key/value store.
KeyValueStoreInterface::get public function Returns the stored value for a given key.
KeyValueStoreInterface::getAll public function Returns all stored key/value pairs in the collection.
KeyValueStoreInterface::getCollectionName public function Returns the name of this collection.
KeyValueStoreInterface::getMultiple public function Returns the stored key/value pairs for a given set of keys.
KeyValueStoreInterface::has public function Returns whether a given key exists in the store.
KeyValueStoreInterface::rename public function Renames a key.
KeyValueStoreInterface::set public function Saves a value for a given key.
KeyValueStoreInterface::setIfNotExists public function Saves a value for a given key if it does not exist yet.
KeyValueStoreInterface::setMultiple public function Saves key/value pairs.
doc_Drupal
2016-10-29 09:21:50
Comments
Leave a Comment

Please login to continue.