solution = [ 'appSid' => $appSid, ]; $this->uri = '/Apps/' . \rawurlencode($appSid) .'/Manifest'; } /** * Fetch the AppManifestInstance * * @return AppManifestInstance Fetched AppManifestInstance * @throws TwilioException When an HTTP error occurs. */ public function fetch(): AppManifestInstance { $payload = $this->version->fetch('GET', $this->uri); return new AppManifestInstance( $this->version, $payload, $this->solution['appSid'] ); } /** * 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.AppManifestContext ' . \implode(' ', $context) . ']'; } }