IpAccessControlListMappings.php 857 B

12345678910111213141516171819202122232425
  1. <?php
  2. class Services_Twilio_Rest_IpAccessControlListMappings extends Services_Twilio_SIPListResource {
  3. /**
  4. * Creates a new IpAccessControlListMapping instance
  5. *
  6. * Example usage:
  7. *
  8. * .. code-block:: php
  9. *
  10. * $client->account->sip->domains->get('SDXXX')->ip_access_control_list_mappings->create("ALXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
  11. *
  12. * :param string $ip_access_control_list_sid: the sid of the IpAccessControList
  13. * you're adding to this domain.
  14. * :param array $params: a single array of parameters which is serialized and
  15. * sent directly to the Twilio API.
  16. */
  17. public function create($ip_access_control_list_sid, $params = array()) {
  18. return parent::_create(array(
  19. 'IpAccessControlListSid' => $ip_access_control_list_sid,
  20. ) + $params);
  21. }
  22. }