zingimmick/laravel-sms

View on GitHub
src/Connectors/ConnectionFactory.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

declare(strict_types=1);

namespace Zing\LaravelSms\Connectors;

class ConnectionFactory
{
    /**
     * @param array<string, mixed> $config
     */
    public function make(array $config): Connector
    {
        return (new Connector($config))->connect($config);
    }
}