ConnectionResolver
class ConnectionResolver implements ConnectionResolverInterface (View source)
Methods
void __construct(array $connections = array()) Create a new connection resolver instance. ConnectionInterface connection(string $name = null) Get a database connection instance. void addConnection(string $name, ConnectionInterface $connection) Add a connection to the resolver. bool hasConnection(string $name) Check if a connection has been registered. string getDefa