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

41 lines
1.4 KiB
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
namespace Twilio\Rest;
use Twilio\Rest\Notify\V1;
class Notify extends NotifyBase {
/**
* @deprecated Use v1->credentials instead.
*/
protected function getCredentials(): \Twilio\Rest\Notify\V1\CredentialList {
echo "credentials is deprecated. Use v1->credentials instead.";
return $this->v1->credentials;
}
/**
* @deprecated Use v1->credentials(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextCredentials(string $sid): \Twilio\Rest\Notify\V1\CredentialContext {
echo "credentials(\$sid) is deprecated. Use v1->credentials(\$sid) instead.";
return $this->v1->credentials($sid);
}
/**
* @deprecated Use v1->services instead.
*/
protected function getServices(): \Twilio\Rest\Notify\V1\ServiceList {
echo "services is deprecated. Use v1->services instead.";
return $this->v1->services;
}
/**
* @deprecated Use v1->services(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextServices(string $sid): \Twilio\Rest\Notify\V1\ServiceContext {
echo "services(\$sid) is deprecated. Use v1->services(\$sid) instead.";
return $this->v1->services($sid);
}
}