You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
397 B
PHP
15 lines
397 B
PHP
<?php
|
|
namespace SmsGateway;
|
|
|
|
interface SenderInterface
|
|
{
|
|
/**
|
|
*
|
|
* @param string $recipient
|
|
* @param string $message
|
|
* @return boolean true upon success. On error, throws exceptions.
|
|
* @throws Exception Upon sending error. Gnokii output will be
|
|
* stored in $e->message
|
|
public function send($recipient, $message);
|
|
}
|