KeyValueStoreInterface

Defines the interface for key/value store implementations.

Hierarchy

File

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

Namespace

Drupal\Core\KeyValueStore

Members

Name Modifiers Type Description
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:51
Comments
Leave a Comment

Please login to continue.