⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.139
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Server Software:
Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
taxi.dev-unit.com
/
app
/
Base
/
Libraries
/
SMS
/
View File Name :
SMSContract.php
<?php namespace App\Base\Libraries\SMS; interface SMSContract { /** * Set the SMS provider to use. * * @param string $provider * @return $this */ public function with($provider); /** * Set the mobile numbers to send the SMS. * * @param string|array $numbers * @return $this */ public function to($numbers); /** * Set the SMS message. * * @param string $message * @return $this */ public function message($message); /** * Set the SMS type. * Allowed values are TRANSACTIONAL (0) and PROMOTIONAL (1). * * @param int $type * @return $this */ public function type($type); /** * Set the SMS type to TRANSACTIONAL. * * @return $this */ public function transactional(); /** * Set the SMS type to PROMOTIONAL. * * @return $this */ public function promotional(); /** * Send the SMS. * * @param string|array|null $numbers * @param string|null $message * @param int|null $type * @return mixed * @throws \Exception */ public function send($numbers = null, $message = null, $type = null); /** * Push the SMS to queue. * * @param string|array|null $numbers * @param string|null $message * @param int|null $type * @param string|null $queue * @return mixed */ public function queue($numbers = null, $message = null, $type = null, $queue = null); /** * Push the SMS to a specific queue. * * @param string $queue * @param string|array|null $numbers * @param string|null $message * @param int|null $type * @return mixed */ public function queueOn($queue, $numbers = null, $message = null, $type = null); }