CredentialLists.php 695 B

123456789101112131415161718192021222324
  1. <?php
  2. class Services_Twilio_Rest_CredentialLists extends Services_Twilio_SIPListResource {
  3. /**
  4. * Creates a new CredentialList instance
  5. *
  6. * Example usage:
  7. *
  8. * .. code-block:: php
  9. *
  10. * $client->account->sip->credential_lists->create("MyFriendlyName");
  11. *
  12. * :param string $friendly_name: the friendly name of this credential list
  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($friendly_name, $params = array()) {
  17. return parent::_create(array(
  18. 'FriendlyName' => $friendly_name,
  19. ) + $params);
  20. }
  21. }