Property | Type | Description | |
---|---|---|---|
$options | array | The default PDO connection options. |
Method | Description | |
---|---|---|
createConnection ( string $dsn, array $config, array $options ) : PDO | Create a new PDO connection. | |
getDefaultOptions ( ) : array | Get the default PDO connection options. | |
getOptions ( array $config ) : array | Get the PDO options based on the configuration. | |
setDefaultOptions ( array $options ) : void | Set the default PDO connection options. |
public getDefaultOptions ( ) : array | ||
return | array |
public getOptions ( array $config ) : array | ||
$config | array | |
return | array |
public setDefaultOptions ( array $options ) : void | ||
$options | array | |
return | void |
protected array $options | ||
return | array |