Leaf PHP

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

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

        
On this page

Search results