Commit 92a9506e authored by webchick's avatar webchick

Issue #1798420 by tim.plunkett: Document and consider renaming AbstractStorage.

parent 7e798b85
......@@ -13,10 +13,10 @@
* This is Drupal's default key/value store implementation. It uses the database
* to store key/value data.
*/
class DatabaseStorage extends AbstractStorage {
class DatabaseStorage extends StorageBase {
/**
* Overrides Drupal\Core\KeyValueStore\AbstractStorage::__construct().
* Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
*
* @param string $collection
* The name of the collection holding key and value pairs.
......
......@@ -10,7 +10,8 @@
/**
* Defines a default key/value store implementation.
*
* For performance reasons, this implementation is not based on AbstractStorage.
* For performance reasons, this implementation is not based on
* Drupal\Core\KeyValueStore\StorageBase.
*/
class MemoryStorage implements KeyValueStoreInterface {
......
......@@ -2,12 +2,15 @@
/**
* @file
* Contains Drupal\Core\KeyValueStore\AbstractStorage.
* Contains Drupal\Core\KeyValueStore\StorageBase.
*/
namespace Drupal\Core\KeyValueStore;
abstract class AbstractStorage implements KeyValueStoreInterface {
/**
* Provides a base class for key/value storage implementations.
*/
abstract class StorageBase implements KeyValueStoreInterface {
/**
* The name of the collection holding key and value pairs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment