41 lines
No EOL
1.4 KiB
PHP
Executable file
41 lines
No EOL
1.4 KiB
PHP
Executable file
<?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);
|
|
}
|
|
} |