$_instances
$_instances : array
Instance cache
A Horde_Injector:: based Horde_Imsp_Auth:: factory.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
create(string $driver, array $params = array()) : \Horde_Imsp_Auth
Attempts to return a concrete Horde_Imsp_Auth instance based on $driver.
Will only create a new object if one with the same parameters already does not exist.
string | $driver | Type of IMSP_Auth subclass to return. |
array | $params | The driver parameters. |
_factory(string $driver, array $params = array()) : mixed
Attempts to return a concrete Horde_Imsp_Auth instance based on $driver Must be called as &Horde_Imsp_Auth::factory()
string | $driver | Type of Horde_Imsp_Auth subclass to return. |
array | $params |
The created Horde_Imsp_Auth subclass.