for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\Gammu\Drivers;
use NotificationChannels\Gammu\Exceptions\CouldNotSendNotification;
abstract class DriverAbstract implements DriverInterface
{
const PACKAGE = 'LNC-Gammu';
const VERSION = '0.0.2';
public $destination;
public $content;
public function send($phoneNumber, $content, $sender = null)
}
public function getSignature()
return self::PACKAGE.'/'.self::VERSION;
public function setDestination($phoneNumber)
if (empty($phoneNumber)) {
throw CouldNotSendNotification::destinationNotProvided();
return $this;
public function getDestination()
public function setContent($content)
if (empty($content)) {
throw CouldNotSendNotification::contentNotProvided();
public function getContent()