ConnectionResolverInterface (Database)

ConnectionResolverInterface

interface ConnectionResolverInterface (View source)

Methods

ConnectionInterface connection( string $name = null)

Get a database connection instance.

string getDefaultConnection()

Get the default connection name.