src/Driver/Driver.php
protected function createPDO(): PDO
    {
        return new PDO(
            $this->options['connection'] ?? $this->options['dsn'],
            $this->options['username'],
            $this->options['password'],
            $this->options['options']
        );
    }
protected function createPDO(): PDO
    {
        return new PDO(
            $this->options['connection'] ?? $this->options['dsn'],
            $this->options['username'],
            $this->options['password'],
            $this->options['options']
        );
    }
protected function createPDO ( ) : PDO { return new PDO ( $ this -> options [ 'connection' ] ?? $ this -> options [ 'dsn' ] , $ this -> options [ 'username' ] , $ this -> options [ 'password' ] , $ this -> options [ 'options' ] ) ; }
Create instance of configured PDO class.

@return PDO
Create instance of configured PDO class .