lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php
private function setSecureConnection(array $params)
    {
        if (! isset($params['ssl_key']) &&
            ! isset($params['ssl_cert']) &&
            ! isset($params['ssl_ca']) &&
            ! isset($params['ssl_capath']) &&
            ! isset($params['ssl_cipher'])
        ) {
            return;
        }

        $this->conn->ssl_set(
            $params['ssl_key']    ?? null,
            $params['ssl_cert']   ?? null,
            $params['ssl_ca']     ?? null,
            $params['ssl_capath'] ?? null,
            $params['ssl_cipher'] ?? null
        );
    }
private function setSecureConnection(array $params)
    {
        if (! isset($params['ssl_key']) &&
            ! isset($params['ssl_cert']) &&
            ! isset($params['ssl_ca']) &&
            ! isset($params['ssl_capath']) &&
            ! isset($params['ssl_cipher'])
        ) {
            return;
        }

        $this->conn->ssl_set(
            $params['ssl_key']    ?? null,
            $params['ssl_cert']   ?? null,
            $params['ssl_ca']     ?? null,
            $params['ssl_capath'] ?? null,
            $params['ssl_cipher'] ?? null
        );
    }
private function setSecureConnection ( array $ params ) { if ( ! isset ( $ params [ 'ssl_key' ] ) && ! isset ( $ params [ 'ssl_cert' ] ) && ! isset ( $ params [ 'ssl_ca' ] ) && ! isset ( $ params [ 'ssl_capath' ] ) && ! isset ( $ params [ 'ssl_cipher' ] ) ) { return ; } $ this -> conn -> ssl_set ( $ params [ 'ssl_key' ] ?? null , $ params [ 'ssl_cert' ] ?? null , $ params [ 'ssl_ca' ] ?? null , $ params [ 'ssl_capath' ] ?? null , $ params [ 'ssl_cipher' ] ?? null ) ; }
Establish a secure connection

@param mixed[] $params

@throws MysqliException
Establish a secure connection