src/Services/Sparkpost.php
public static function getTransport($key, $options = [])
    {
        if (empty($key)) {
            throw new InternalServerErrorException('Missing key for SparkPost service.');
        }

        return new SparkPostTransport(new Client(), $key, $options);
    }
public static function getTransport($key, $options = [])
    {
        if (empty($key)) {
            throw new InternalServerErrorException('Missing key for SparkPost service.');
        }

        return new SparkPostTransport(new Client(), $key, $options);
    }
@param $key
@param $options

@return \Illuminate\Mail\Transport\SparkPostTransport
@throws \DreamFactory\Core\Exceptions\InternalServerErrorException