diff --git a/lib/Doctrine/Cache/Driver.php b/lib/Doctrine/Cache/Driver.php index 3f416cde9..ca9cfbbd2 100644 --- a/lib/Doctrine/Cache/Driver.php +++ b/lib/Doctrine/Cache/Driver.php @@ -31,7 +31,7 @@ * @version $Revision$ * @author Konsta Vesterinen */ -class Doctrine_Cache_Driver implements Doctrine_Cache_Interface +abstract class Doctrine_Cache_Driver implements Doctrine_Cache_Interface { } diff --git a/lib/Doctrine/Cache/Exception.php b/lib/Doctrine/Cache/Exception.php new file mode 100644 index 000000000..23aec3f76 --- /dev/null +++ b/lib/Doctrine/Cache/Exception.php @@ -0,0 +1,35 @@ +. + */ +Doctrine::autoload('Doctrine_Exception'); +/** + * Doctrine_Cache_Exception + * + * @package Doctrine + * @subpackage Doctrine_Cache + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ +class Doctrine_Cache_Exception extends Doctrine_Exception +{ } diff --git a/lib/Doctrine/Cache/Memcache.php b/lib/Doctrine/Cache/Memcache.php index 2caf87a29..1c5f11812 100644 --- a/lib/Doctrine/Cache/Memcache.php +++ b/lib/Doctrine/Cache/Memcache.php @@ -36,7 +36,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver /** * @var Memcache $_memcache memcache object */ - private $_memcache = null; + protected $_memcache = null; /** * constructor *