Database
in package
Leaf Database Config --- This class is used to configure the database connection for models.
Table of Contents
Properties
- $capsule : mixed
Methods
- connect() : mixed
- Create a new database connection for models
- initDb() : mixed
- Create a Leaf Db connection using the the default connection defined in the config/database.php file
Properties
$capsule
public
static mixed
$capsule
Methods
connect()
Create a new database connection for models
public
static connect() : mixed
initDb()
Create a Leaf Db connection using the the default connection defined in the config/database.php file
public
static initDb() : mixed