smsgateway/src/SmsGateway/SenderInterface.php
Gergely Polonkai (W00d5t0ck) 61d0399828 Some updates
2012-09-25 19:20:56 +02:00

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);
}