From 51e3e9d81aa5e32468d706aaf074c89557926bb5 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 12 Jan 2011 10:56:46 -0500 Subject: [PATCH] declare $_instances member, phpdoc --- framework/Core/lib/Horde/Core/Factory/ShareBase.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/framework/Core/lib/Horde/Core/Factory/ShareBase.php b/framework/Core/lib/Horde/Core/Factory/ShareBase.php index 0a3fb210b..fc2a85102 100644 --- a/framework/Core/lib/Horde/Core/Factory/ShareBase.php +++ b/framework/Core/lib/Horde/Core/Factory/ShareBase.php @@ -21,6 +21,23 @@ */ class Horde_Core_Factory_ShareBase { + /** + * Local cache of created share instances. + * + * @var array + */ + protected $_instances; + + /** + * Returns the share driver instance. + * + * @param string $app The application scope of the share. If empty, default + * to current application. + * @param string $driver The storage driver to use. If empty, use the + * globally configured storage driver. + * + * @return Horde_Share The share driver instance. + */ public function create($app = null, $driver = null) { if (empty($driver)) { -- 2.11.0