From 3d145668897d4886864161326769cf4296aa9f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Dubigny?= Date: Mon, 14 Apr 2014 16:36:54 +0200 Subject: [PATCH] improve doc --- Resources/doc/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/doc/index.md b/Resources/doc/index.md index c511542..5eff483 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -65,8 +65,8 @@ Usage ### Send SMS with service - $sender = $this->getContainer()->get('jhg_nexmo.sms.sender'); - $sender->send($number,$fromName,$message); + $sender = $this->getContainer()->get('jhg_nexmo_sms'); + $sender->sendText($number, $message, $fromName); If no $fromName is provided 'jhg_nexmo.from_name' is used. This from name is limited to 11 characters (spaces and special chars are not allowed).