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

24 lines
No EOL
738 B
PHP
Executable file

<?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);
}
}