/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Microvisor/V1
Edit: /home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Microvisor/V1/AppContext.php (1941B)
solution = ['sid' => $sid, ];
$this->uri = '/Apps/' . \rawurlencode($sid) . '';
}
/**
* Fetch the AppInstance
*
* @return AppInstance Fetched AppInstance
* @throws TwilioException When an HTTP error occurs.
*/
public function fetch(): AppInstance {
$payload = $this->version->fetch('GET', $this->uri);
return new AppInstance($this->version, $payload, $this->solution['sid']);
}
/**
* Delete the AppInstance
*
* @return bool True if delete succeeds, false otherwise
* @throws TwilioException When an HTTP error occurs.
*/
public function delete(): bool {
return $this->version->delete('DELETE', $this->uri);
}
/**
* 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.Microvisor.V1.AppContext ' . \implode(' ', $context) . ']';
}
}