\Wicked_Factory_Driver

Wicked_Driver factory.

Summary

Methods
Properties
Constants
create()
getDb()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_instances
N/A

Properties

$_instances

$_instances : array

Type

array

Methods

create()

create(\Horde_Injector  $injector) : \Wicked_Driver

Return an Wicked_Driver instance.

Parameters

\Horde_Injector $injector

An injector object.

Throws

\Wicked_Exception

Returns

\Wicked_Driver

A driver instance.

getDb()

getDb(\Horde_Injector  $injector) : \Horde_Db_Adapter

Returns a Horde_Db instance for the SQL backend.

Parameters

\Horde_Injector $injector

An injector object.

Throws

\Wicked_Exception

Returns

\Horde_Db_Adapter —

A correctly configured Horde_Db_Adapter instance.