Horde_Core_Factory_Nosql
        
        extends Horde_Core_Factory_Base
    
    
            
            in package
            
        
    
    
    
A Horde_Injector based factory for creating Nosql objects.
Tags
Table of Contents
Properties
- $_injector : Horde_Injector
- The injector.
- $_instances : array<string|int, mixed>
- Instances.
Methods
- __construct() : mixed
- Constructor.
- create() : mixed
- Returns the instance.
- createNosql() : mixed
- getConfig() : mixed
- _getDriverName() : string
- Return the classname of the driver to load.
Properties
$_injector
The injector.
    protected
        Horde_Injector
    $_injector
    
    
    
    
    
$_instances
Instances.
    private
        array<string|int, mixed>
    $_instances
     = array()
    
    
    
    
Methods
__construct()
Constructor.
    public
                    __construct(Horde_Injector $injector) : mixed
    Parameters
- $injector : Horde_Injector
- 
                    The injector to use. 
create()
Returns the instance.
    public
                    create([string $app = 'horde' ][, string|array<string|int, mixed> $backend = null ]) : mixed
    Parameters
- $app : string = 'horde'
- 
                    The application. 
- $backend : string|array<string|int, mixed> = null
- 
                    The backend, see Horde::getDriverConfig(). If this is an array, this is used as the configuration array. 
Tags
Return values
mixed —The singleton instance.
createNosql()
    public
                    createNosql(mixed $config) : mixed
    Parameters
- $config : mixed
Tags
getConfig()
    public
                    getConfig(mixed $backend) : mixed
    Parameters
- $backend : mixed
_getDriverName()
Return the classname of the driver to load.
    protected
                    _getDriverName(string $driver, string $base) : string
    Parameters
- $driver : string
- 
                    Driver name. 
- $base : string
- 
                    The base classname. 
Tags
Return values
string —Classname.