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

25 lines
823 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
namespace Twilio\Rest;
use Twilio\Rest\Lookups\V1;
class Lookups extends LookupsBase {
/**
* @deprecated Use v1->phoneNumbers instead.
*/
protected function getPhoneNumbers(): \Twilio\Rest\Lookups\V1\PhoneNumberList {
echo "phoneNumbers is deprecated. Use v1->phoneNumbers instead.";
return $this->v1->phoneNumbers;
}
/**
* @deprecated Use v1->phoneNumbers(\$phoneNumber) instead.
* @param string $phoneNumber The phone number to fetch in E.164 format
*/
protected function contextPhoneNumbers(string $phoneNumber): \Twilio\Rest\Lookups\V1\PhoneNumberContext {
echo "phoneNumbers(\$phoneNumber) is deprecated. Use v1->phoneNumbers(\$phoneNumber) instead.";
return $this->v1->phoneNumbers($phoneNumber);
}
}