From f48225b06cb628722e1ee0eb395e59353cf37cd1 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Fri, 9 Mar 2012 13:32:23 +0900
Subject: [PATCH] Issue #1323120 by webchick, David_Rothstein, kotnik,
 amateescu: Documentation follow-ups for convert cache system to PSR-0.

---
 .../Drupal/Core/Cache/CacheBackendInterface.php   | 15 ++++++++-------
 core/lib/Drupal/Core/Cache/DatabaseBackend.php    |  2 +-
 core/lib/Drupal/Core/Cache/InstallBackend.php     |  2 +-
 core/lib/Drupal/Core/Cache/NullBackend.php        |  2 +-
 core/modules/system/system.install                |  2 +-
 5 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
index 6284047456b8..b4c21ceea837 100644
--- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
+++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php
@@ -2,7 +2,7 @@
 
 /**
  * @file
- * Definition of CacheBackendInterface.
+ * Definition of Drupal\Core\Cache\CacheBackendInterface.
  */
 
 namespace Drupal\Core\Cache;
@@ -11,21 +11,22 @@
  * Defines an interface for cache implementations.
  *
  * All cache implementations have to implement this interface.
- * DrupalDatabaseCache provides the default implementation, which can be
- * consulted as an example.
+ * Drupal\Core\Cache\DatabaseBackend provides the default implementation, which
+ * can be consulted as an example.
  *
  * To make Drupal use your implementation for a certain cache bin, you have to
  * set a variable with the name of the cache bin as its key and the name of
  * your class as its value. For example, if your implementation of
- * DrupalCacheInterface was called MyCustomCache, the following line would make
- * Drupal use it for the 'cache_page' bin:
+ * Drupal\Core\Cache\CacheBackendInterface was called MyCustomCache, the
+ * following line would make Drupal use it for the 'cache_page' bin:
  * @code
  *  variable_set('cache_class_cache_page', 'MyCustomCache');
  * @endcode
  *
  * Additionally, you can register your cache implementation to be used by
  * default for all cache bins by setting the variable 'cache_default_class' to
- * the name of your implementation of the DrupalCacheInterface, e.g.
+ * the name of your implementation of the
+ * Drupal\Core\Cache\CacheBackendInterface, e.g.
  * @code
  *  variable_set('cache_default_class', 'MyCustomCache');
  * @endcode
@@ -42,7 +43,7 @@
  * @endcode
  *
  * @see cache()
- * @see DrupalDatabaseCache
+ * @see Drupal\Core\Cache\DatabaseBackend
  */
 interface CacheBackendInterface {
 
diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php
index 7afd6983a84b..73c71392bc50 100644
--- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php
+++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php
@@ -2,7 +2,7 @@
 
 /**
  * @file
- * Definition of DatabaseBackend.
+ * Definition of Drupal\Core\Cache\DatabaseBackend.
  */
 
 namespace Drupal\Core\Cache;
diff --git a/core/lib/Drupal/Core/Cache/InstallBackend.php b/core/lib/Drupal/Core/Cache/InstallBackend.php
index 8a1b1775a783..53f9b231a2dd 100644
--- a/core/lib/Drupal/Core/Cache/InstallBackend.php
+++ b/core/lib/Drupal/Core/Cache/InstallBackend.php
@@ -2,7 +2,7 @@
 
 /**
  * @file
- * Definition of InstallBackend.
+ * Definition of Drupal\Core\Cache\InstallBackend.
  */
 
 namespace Drupal\Core\Cache;
diff --git a/core/lib/Drupal/Core/Cache/NullBackend.php b/core/lib/Drupal/Core/Cache/NullBackend.php
index af83b961aa3d..c3da5d70a125 100644
--- a/core/lib/Drupal/Core/Cache/NullBackend.php
+++ b/core/lib/Drupal/Core/Cache/NullBackend.php
@@ -2,7 +2,7 @@
 
 /**
  * @file
- * Definition of NullBackend.
+ * Definition of Drupal\Core\Cache\NullBackend.
  */
 
 namespace Drupal\Core\Cache;
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index a0e4f25aac04..2cbb6154f15d 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -1507,7 +1507,7 @@ function system_schema() {
         'default' => 0,
       ),
       'cache' => array(
-        'description' => "The time of this user's last post. This is used when the site has specified a minimum_cache_lifetime. See DrupalCacheInterface::get().",
+        'description' => "The time of this user's last post. This is used when the site has specified a minimum_cache_lifetime. See Drupal\Core\Cache\CacheBackendInterface::get().",
         'type' => 'int',
         'not null' => TRUE,
         'default' => 0,
-- 
GitLab