24 lines
738 B
PHP
24 lines
738 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|