interface
Illuminate
/
Database
/
ConnectionResolverInterface
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