14 lines
306 B
PHP
14 lines
306 B
PHP
<?php
|
|
|
|
namespace App\Services\SmsBilling\Contracts;
|
|
|
|
interface SmsProviderInterface
|
|
{
|
|
public function name(): string;
|
|
|
|
public function supports(array $config): bool;
|
|
|
|
/** @return array{success: bool, raw: mixed} */
|
|
public function send(string $to, string $message, array $config): array;
|
|
}
|