protected function createMailgunTransport(array $config): MailgunTransport
    {
        return new MailgunTransport(
            $this->getHttpClient($config),
            $config['secret'],
            $config['domain'],
            $config['base_url'] ?? null
        );
    }
protected function createMailgunTransport(array $config): MailgunTransport
    {
        return new MailgunTransport(
            $this->getHttpClient($config),
            $config['secret'],
            $config['domain'],
            $config['base_url'] ?? null
        );
    }
protected function createMailgunTransport ( array $ config ) : MailgunTransport { return new MailgunTransport ( $ this -> getHttpClient ( $ config ) , $ config [ 'secret' ] , $ config [ 'domain' ] , $ config [ 'base_url' ] ?? null ) ; }
Create an instance of the Mailgun Swift Transport driver.

@param array $config

@return \Viserio\Component\Mail\Transport\MailgunTransport
Create an instance of the Mailgun Swift Transport driver .