CredentialListMappings.php 798 B

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