Example #1
0
 /**
  * @inheritDoc
  */
 public function handle(NotificationInterface $notification)
 {
     $this->getClient()->sendSms($notification->getRecipientNumber(), $notification->getMessage());
     return true;
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function handle(NotificationInterface $notification)
 {
     /* @var TwilioNotification $notification */
     $this->twilio->account->messages->sendMessage($this->twilioNumber, $notification->getRecipientNumber(), $notification->getMessage());
 }