| 12345678910111213141516171819202122232425 |
- <?php
- namespace common\helpers;
- use common\components\EknotifierSmsDriver;
- class Sms
- {
- const welcomePack = 'welcomePack';
- /**
- * Send the SMS.
- *
- * @param string $mobile
- * @param string $message
- * @param string $userId
- * @param string $countryId
- * @param string $classify
- * @return bool
- * @throws \Exception
- */
- public static function sendSMS(string $mobile, string $message, string $userId, string $countryId, string $classify): bool
- {
- return (new EknotifierSmsDriver)->send($mobile, $message, $userId, $countryId, $classify);
- }
- }
|