PHP Class Horde_Core_Factory_Imsp, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Core_Factory_Base
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_injector Horde_Injector
$_instances array The instance cache

Méthodes publiques

Méthode Description
__construct ( Horde_Injector $injector ) Constructor
create ( type $driver = null, array $params = [] ) : Horde_Imsp Create an instance of a Horde_Imsp class.

Méthodes protégées

Méthode Description
_factory ( string $driver = null, array $params = [] ) : mixed Factory method

Method Details

__construct() public méthode

Constructor
public __construct ( Horde_Injector $injector )
$injector Horde_Injector

_factory() protected méthode

Factory method
protected _factory ( string $driver = null, array $params = [] ) : mixed
$driver string The driver type, leave empty for client connection
$params array The driver parameters, leave empty to use default.
Résultat mixed The Horde_Imsp object or Horde_Imsp_Client object.

create() public méthode

Create an instance of a Horde_Imsp class.
public create ( type $driver = null, array $params = [] ) : Horde_Imsp
$driver type The driver type.
$params array Driver params.
Résultat Horde_Imsp The Horde_Imsp object

Property Details

$_injector protected_oe property

protected Horde_Injector $_injector
Résultat Horde_Injector

$_instances protected_oe property

The instance cache
protected array $_instances
Résultat array