src/Standart/Connection.php
private function parseConfig($connection)
    {
        $this->debug = false;
        $allowed_keys = array_keys(get_object_vars($this));
        foreach ($connection as $key => $value) {
            // Check if host has a trailing slash and remove it
            if ($key === 'host' && substr($value, -1) === '/') {
            	$value = substr($value, 0, -1);
            }
            $this->setParam($this->camelCase($key), $value, $allowed_keys);
        }
        $this->transactionId = null;
        $this->query = null;
    }
private function parseConfig($connection)
    {
        $this->debug = false;
        $allowed_keys = array_keys(get_object_vars($this));
        foreach ($connection as $key => $value) {
            // Check if host has a trailing slash and remove it
            if ($key === 'host' && substr($value, -1) === '/') {
            	$value = substr($value, 0, -1);
            }
            $this->setParam($this->camelCase($key), $value, $allowed_keys);
        }
        $this->transactionId = null;
        $this->query = null;
    }
Parse access points from connection array.

@param  array  $connection
@return void