solution = [ ]; $this->uri = '/certs'; } /** * Fetch the OauthInstance * * @return OauthInstance Fetched OauthInstance * @throws TwilioException When an HTTP error occurs. */ public function fetch(): OauthInstance { $payload = $this->version->fetch('GET', $this->uri); return new OauthInstance( $this->version, $payload ); } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { $context = []; foreach ($this->solution as $key => $value) { $context[] = "$key=$value"; } return '[Twilio.Oauth.V1.OauthContext ' . \implode(' ', $context) . ']'; } }