Queues.php 506 B

12345678910111213141516171819
  1. <?php
  2. class Services_Twilio_Rest_Queues
  3. extends Services_Twilio_ListResource
  4. {
  5. /**
  6. * Create a new Queue
  7. *
  8. * @param string $friendly_name The name of this queue
  9. * @param array $params A list of optional parameters, and their values
  10. * @return Services_Twilio_Rest_Queue The created Queue
  11. */
  12. function create($friendly_name, array $params = array()) {
  13. return parent::_create(array(
  14. 'FriendlyName' => $friendly_name,
  15. ) + $params);
  16. }
  17. }