[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

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

   1  <?php
   2  
   3  class Services_Twilio_Rest_IpAccessControlLists extends Services_Twilio_SIPListResource {
   4  
   5      /**
   6       * Creates a new IpAccessControlLists instance
   7       *
   8       * Example usage:
   9       *
  10       * .. code-block:: php
  11       *
  12       *      $client->account->sip->ip_access_control_lists->create("MyFriendlyName");
  13       *
  14       * :param string $friendly_name: the friendly name of this ip access control list
  15       * :param array $params: a single array of parameters which is serialized and
  16       *      sent directly to the Twilio API.
  17       * :return: the created list
  18       * :rtype: :class:`Services_Twilio_Rest_IpAccessControlList`
  19       *
  20       */
  21      public function create($friendly_name, $params = array()) {
  22          return parent::_create(array(
  23              'FriendlyName' => $friendly_name,
  24          ) + $params);
  25      }
  26  
  27  }


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