ConnectionResolverInterface
interface ConnectionResolverInterface (View source)
Methods
ConnectionInterface | connection(string $name = null) Get a database connection instance. | |
string | getDefaultConnection() Get the default connection name. | |
void | setDefaultConnection(string $name) Set the default connection name. |
Details
ConnectionInterface connection(string $name = null)
Get a database connection instance.
string getDefaultConnection()
Get the default connection name.
void setDefaultConnection(string $name)
Set the default connection name.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Database/ConnectionResolverInterface.html