Merge pull request #3 from rdubigny/master

improve doc
This commit is contained in:
Javi Hernández 2014-04-29 20:57:27 +02:00
commit 7cf887418f

View File

@ -65,8 +65,8 @@ Usage
### Send SMS with service ### Send SMS with service
$sender = $this->getContainer()->get('jhg_nexmo.sms.sender'); $sender = $this->getContainer()->get('jhg_nexmo_sms');
$sender->send($number,$fromName,$message); $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). 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).