[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/twilio-php/Services/Twilio/Rest/ -> SmsMessages.php (source)

   1  <?php
   2  
   3  class Services_Twilio_Rest_SmsMessages
   4      extends Services_Twilio_ListResource
   5  {
   6      public function __construct($client, $uri) {
   7          $uri = preg_replace("#SmsMessages#", "SMS/Messages", $uri);
   8          parent::__construct($client, $uri);
   9      }
  10  
  11      function create($from, $to, $body, array $params = array()) {
  12          return parent::_create(array(
  13              'From' => $from,
  14              'To' => $to,
  15              'Body' => $body
  16          ) + $params);
  17      }
  18  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1