mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
20 lines
506 B
PHP
20 lines
506 B
PHP
|
<?php
|
||
|
|
||
|
class Services_Twilio_Rest_Queues
|
||
|
extends Services_Twilio_ListResource
|
||
|
{
|
||
|
/**
|
||
|
* Create a new Queue
|
||
|
*
|
||
|
* @param string $friendly_name The name of this queue
|
||
|
* @param array $params A list of optional parameters, and their values
|
||
|
* @return Services_Twilio_Rest_Queue The created Queue
|
||
|
*/
|
||
|
function create($friendly_name, array $params = array()) {
|
||
|
return parent::_create(array(
|
||
|
'FriendlyName' => $friendly_name,
|
||
|
) + $params);
|
||
|
}
|
||
|
}
|
||
|
|