1: <?php
2: /**
3: * @category Horde
4: * @package Core
5: */
6: class Horde_Core_Factory_DbBase extends Horde_Core_Factory_Injector
7: {
8: /**
9: * Returns the Horde_Db_Adapter object for the default Horde DB/SQL
10: * configuration.
11: *
12: * @return Horde_Db_Adapter
13: * @throws Horde_Exception
14: */
15: public function create(Horde_Injector $injector)
16: {
17: return $injector->getInstance('Horde_Core_Factory_Db')->create('horde');
18: }
19: }
20: