modern-events-calendar-lite/app/api/Twilio/Rest/Trunking.php

24 lines
710 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
namespace Twilio\Rest;
use Twilio\Rest\Trunking\V1;
class Trunking extends TrunkingBase {
/**
* @deprecated Use v1->trunks instead.
*/
protected function getTrunks(): \Twilio\Rest\Trunking\V1\TrunkList {
echo "trunks is deprecated. Use v1->trunks instead.";
return $this->v1->trunks;
}
/**
* @deprecated Use v1->trunks(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextTrunks(string $sid): \Twilio\Rest\Trunking\V1\TrunkContext {
echo "trunks(\$sid) is deprecated. Use v1->trunks(\$sid) instead.";
return $this->v1->trunks($sid);
}
}