Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
92a9506e
Commit
92a9506e
authored
Sep 30, 2012
by
Angie Byron
Browse files
Issue
#1798420
by tim.plunkett: Document and consider renaming AbstractStorage.
parent
7e798b85
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
View file @
92a9506e
...
...
@@ -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
Abstract
Storage
{
class
DatabaseStorage
extends
Storage
Base
{
/**
* Overrides Drupal\Core\KeyValueStore\
Abstract
Storage::__construct().
* Overrides Drupal\Core\KeyValueStore\Storage
Base
::__construct().
*
* @param string $collection
* The name of the collection holding key and value pairs.
...
...
core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php
View file @
92a9506e
...
...
@@ -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
{
...
...
core/lib/Drupal/Core/KeyValueStore/
Abstract
Storage.php
→
core/lib/Drupal/Core/KeyValueStore/Storage
Base
.php
View file @
92a9506e
...
...
@@ -2,12 +2,15 @@
/**
* @file
* Contains Drupal\Core\KeyValueStore\
Abstract
Storage.
* Contains Drupal\Core\KeyValueStore\Storage
Base
.
*/
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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment