====== DbFactory ======
**Layer:** ''Core'' · **Source:** ''lib/core/DbFactory.php:18'' (lines 18–47)
----
class DbFactory
DbFactory Class
======= Docblock Metadata =======
^ Tag ^ Value ^
| ''@category'' | Core Class |
| ''@author'' | M.Noermoehammad |
| ''@license'' | MIT |
| ''@version'' | 1.0 |
| ''@since'' | Since Release 1.0 |
======= Inheritance =======
//No parent, interface or trait. This is a root type.//
======= Constants (0) =======
//None.//
======= Properties (0) =======
//None declared.//
======= Methods (1) =======
^ Visibility ^ Method ^ Summary ^ Line ^
| public static | ''connect()'' | Connect | 28 |
======== connect() ========
public static function connect($connection, $options = [])
//lines 28–46 (19)//
Connect
^ Parameter ^ Type ^ Default ^ Description ^
| ''$connection'' | ''(untyped)'' | //required// | //none// |
| ''$options'' | ''(untyped)'' | ''[]'' | //none// |
**Returns:** ''(none declared)''
**Throws:** [[scriptlog:lib:core:dbexception|''DbException'']]
----
//This page is generated from source by 'tools/gendoc'. Edits will be overwritten.//