string getDefaultConnection() Get the default connection name. Return Value string
PDO createConnection(string $dsn, array $config, array $options) Create a new PDO connection. Parameters string $dsn array $config array $options Return Value PDO
array getDefaultOptions() Get the default PDO connection options. Return Value array
Connector class Connector (View source) Traits DetectsLostConnections
void setDefaultConnection(string $name) Set the default connection name. Parameters string $name Return Value void
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
Page 802 of 996