Add database connection
public addConnection ( string $name, string $dsn, array $options = [], $default = false ) : Spot_Adapter_Interface | ||
$name | string | Unique name for the connection |
$dsn | string | DSN string for this connection |
$options | array | Array of key => value options for adapter |
return | Spot_Adapter_Interface | Spot adapter instance |