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

24 lines
738 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
namespace Twilio\Rest;
use Twilio\Rest\Serverless\V1;
class Serverless extends ServerlessBase {
/**
* @deprecated Use v1->services instead.
*/
protected function getServices(): \Twilio\Rest\Serverless\V1\ServiceList {
echo "services is deprecated. Use v1->services instead.";
return $this->v1->services;
}
/**
* @deprecated Use v1->services(\$sid) instead.
* @param string $sid The SID of the Service resource to fetch
*/
protected function contextServices(string $sid): \Twilio\Rest\Serverless\V1\ServiceContext {
echo "services(\$sid) is deprecated. Use v1->services(\$sid) instead.";
return $this->v1->services($sid);
}
}