interface
Illuminate
/
Database
/
ConnectionResolverInterface
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ConnectionResolverInterface
Methods
public
connection ( $name ) : ConnectionInterface
Get a database connection instance.
Parameters
- $name string|null
public
getDefaultConnection ( ) : string
Get the default connection name.
public
setDefaultConnection ( $name ) : void
Set the default connection name.
Parameters
- $name string