diff options
author | Matt Nowack <mdnowack@gmail.com> | 2016-10-12 10:25:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 10:25:42 -0700 |
commit | ac7617148afac5632e9fda422c91b6dbdc7ccc08 (patch) | |
tree | 83a0e7f67f1ddda1ae91da59fe4e0328e67bc163 | |
parent | e0870d75c5798427acd3fffb91202529cd521868 (diff) | |
parent | 9cb94e93525277bff4dd6396173df3ebf047685a (diff) | |
download | twilio-php-ac7617148afac5632e9fda422c91b6dbdc7ccc08.zip twilio-php-ac7617148afac5632e9fda422c91b6dbdc7ccc08.tar.gz twilio-php-ac7617148afac5632e9fda422c91b6dbdc7ccc08.tar.bz2 |
Merge pull request #382 from twilio/add-to-array-to-instances
Add `InstanceResource::toArray()` method
-rw-r--r-- | Twilio/InstanceResource.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Twilio/InstanceResource.php b/Twilio/InstanceResource.php index 8100d4d..2b802b2 100644 --- a/Twilio/InstanceResource.php +++ b/Twilio/InstanceResource.php @@ -14,6 +14,10 @@ class InstanceResource { $this->version = $version; } + public function toArray() { + return $this->properties; + } + public function __toString() { return '[InstanceResource]'; } |