trait
Illuminate
/
Database
/
PDO
/
Concerns
/
ConnectsToDatabase
ConnectsToDatabase
Methods
public
connect ( array $params , $username , $password , array $driverOptions ) : Connection
Create a new database connection.
Parameters
- $params array
- $username string|null
- $password string|null
- $driverOptions array