From: Michael J. Rubinsky Date: Wed, 12 Jan 2011 15:56:46 +0000 (-0500) Subject: declare $_instances member, phpdoc X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=51e3e9d81aa5e32468d706aaf074c89557926bb5;p=horde.git declare $_instances member, phpdoc --- 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)) {