DatabaseContainer
class DatabaseContainer (View source)
The DbContainer class.
Methods
static AbstractDatabaseDriver
getDb(string $driver = null, array $option = array(), boolean $forceNew = false)
Method to get property Db
static DatabaseContainer
Details
at line line 37
static AbstractDatabaseDriver
getDb(string $driver = null, array $option = array(), boolean $forceNew = false)
Method to get property Db
at line line 59
static DatabaseContainer
setDb(AbstractDatabaseDriver|callable $db)
Method to set property db