PDO createConnection(string $dsn, array $config, array $options) Create a new PDO connection. Parameters string $dsn array $config array $options Return Value PDO
Connector class Connector (View source) Traits DetectsLostConnections
void setDefaultConnection(string $name) Set the default connection name. Parameters string $name Return Value void
string getDefaultConnection() Get the default connection name. Return Value string
ConnectionInterface connection(string $name = null) Get a database connection instance. Parameters string $name Return Value ConnectionInterface
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.
void __construct(array $connections = array()) Create a new connection resolver instance. Parameters array $connections Return Value void
bool hasConnection(string $name) Check if a connection has been registered. Parameters string $name Return Value bool
Page 802 of 996