$_injector
$_injector : \Horde_Injector
The injector.
A Horde_Injector:: based factory for creating PEAR DB objects.
.
Copyright 2010-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 $type = 'rw', string $app = 'horde', mixed $dtype = null) : \DB
Return the DB instance.
string | $type | Either 'read' or 'rw'. |
string | $app | The application. |
mixed | $dtype | The type. If this is an array, this is used as the configuration array. |
The singleton DB instance.