allow descendant classes to access the cache array
authorErich <erichbschulz@gmail.com>
Mon, 2 Jan 2017 02:10:40 +0000 (12:10 +1000)
committerGitHub <noreply@github.com>
Mon, 2 Jan 2017 02:10:40 +0000 (12:10 +1000)
this makes this class into a more flexible base for other classes to inherit from. Background [conversation with Coleman here](http://civicrm.stackexchange.com/questions/16434/private-or-protected-class-properties/16483?noredirect=1#comment18299_16483)

CRM/Utils/Cache/ArrayCache.php

index 95ac6d2481cebb85d485241d4f80af3731cf67f4..2622554330af20ac75890eefb2f54b5d6b413876 100644 (file)
@@ -39,7 +39,7 @@ class CRM_Utils_Cache_Arraycache implements CRM_Utils_Cache_Interface {
   /**
    * The cache storage container, an in memory array by default
    */
-  private $_cache;
+  protected $_cache;
 
   /**
    * Constructor.