<?php

namespace App\Sms\Provider;

interface SmsProviderInterface
{
    public function getName(): string;

    /** @return bool true on success */
    public function send(string $mobile, string $message): bool;

    /** Send via approved template (pattern send) */
    public function sendTemplate(string $mobile, string $templateCode, array $vars): bool;
}
