summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatt <matt@twilio.com>2016-08-08 14:51:26 -0700
committermatt <matt@twilio.com>2016-08-08 14:51:26 -0700
commit6cd921d14e222d6d92300dbaa91161dc0ece7c39 (patch)
tree6bb71535b8939ab8ff51f0619a9a1a3d7f017e55
parent029a9ad5731504eb58d6c85dbaa4686507d2259b (diff)
downloadtwilio-php-6cd921d14e222d6d92300dbaa91161dc0ece7c39.zip
twilio-php-6cd921d14e222d6d92300dbaa91161dc0ece7c39.tar.gz
twilio-php-6cd921d14e222d6d92300dbaa91161dc0ece7c39.tar.bz2
Remove unused properties, normalize ->account
`->account` now works like any other version convenience method.
-rw-r--r--Twilio/Rest/Api.php27
1 files changed, 1 insertions, 26 deletions
diff --git a/Twilio/Rest/Api.php b/Twilio/Rest/Api.php
index ec2de73..71b866a 100644
--- a/Twilio/Rest/Api.php
+++ b/Twilio/Rest/Api.php
@@ -62,31 +62,6 @@ use Twilio\Rest\Api\V2010;
*/
class Api extends Domain {
protected $_v2010 = null;
- protected $_account = null;
- protected $_addresses = null;
- protected $_applications = null;
- protected $_authorizedConnectApps = null;
- protected $_availablePhoneNumbers = null;
- protected $_calls = null;
- protected $_conferences = null;
- protected $_connectApps = null;
- protected $_incomingPhoneNumbers = null;
- protected $_keys = null;
- protected $_messages = null;
- protected $_newKeys = null;
- protected $_newSigningKeys = null;
- protected $_notifications = null;
- protected $_outgoingCallerIds = null;
- protected $_queues = null;
- protected $_recordings = null;
- protected $_sandbox = null;
- protected $_signingKeys = null;
- protected $_sip = null;
- protected $_sms = null;
- protected $_tokens = null;
- protected $_transcriptions = null;
- protected $_usage = null;
- protected $_validationRequests = null;
/**
* Construct the Api Domain
@@ -148,7 +123,7 @@ class Api extends Domain {
* @return \Twilio\Rest\Api\V2010\AccountContext Account provided as the
* authenticating account
*/
- public function account() {
+ protected function getAccount() {
return $this->v2010->account;
}