/
home
/
techb158
/
dev.balacoffee.com
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Verify
/
V2
/
/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Verify/V2
mkdir
upload
Name
Size
Mode
Actions
Service/
-
0755
rm
FormContext.php
1583
0644
edit
dl
rm
FormInstance.php
2989
0644
edit
dl
rm
FormList.php
1073
0644
edit
dl
rm
FormPage.php
1240
0644
edit
dl
rm
SafelistContext.php
1950
0644
edit
dl
rm
SafelistInstance.php
3244
0644
edit
dl
rm
SafelistList.php
1757
0644
edit
dl
rm
SafelistPage.php
1264
0644
edit
dl
rm
ServiceContext.php
8355
0644
edit
dl
rm
ServiceInstance.php
6889
0644
edit
dl
rm
ServiceList.php
6537
0644
edit
dl
rm
ServiceOptions.php
31936
0644
edit
dl
rm
ServicePage.php
1145
0644
edit
dl
rm
TemplateInstance.php
2025
0644
edit
dl
rm
TemplateList.php
4778
0644
edit
dl
rm
TemplateOptions.php
1456
0644
edit
dl
rm
TemplatePage.php
1151
0644
edit
dl
rm
VerificationAttemptContext.php
1567
0644
edit
dl
rm
VerificationAttemptInstance.php
3888
0644
edit
dl
rm
VerificationAttemptList.php
5705
0644
edit
dl
rm
VerificationAttemptOptions.php
7226
0644
edit
dl
rm
VerificationAttemptPage.php
1217
0644
edit
dl
rm
VerificationAttemptsSummaryContext.php
2185
0644
edit
dl
rm
VerificationAttemptsSummaryInstance.php
3380
0644
edit
dl
rm
VerificationAttemptsSummaryList.php
1011
0644
edit
dl
rm
VerificationAttemptsSummaryOptions.php
6689
0644
edit
dl
rm
VerificationAttemptsSummaryPage.php
1265
0644
edit
dl
rm
Edit:
/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Verify/V2/FormInstance.php
(2989B)
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Verify\V2; use Twilio\Exceptions\TwilioException; use Twilio\InstanceResource; use Twilio\Values; use Twilio\Version; /** * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property string $formType * @property array $forms * @property array $formMeta * @property string $url */ class FormInstance extends InstanceResource { /** * Initialize the FormInstance * * @param Version $version Version that contains the resource * @param mixed[] $payload The response payload * @param string $formType The Type of this Form */ public function __construct(Version $version, array $payload, string $formType = null) { parent::__construct($version); // Marshaled Properties $this->properties = [ 'formType' => Values::array_get($payload, 'form_type'), 'forms' => Values::array_get($payload, 'forms'), 'formMeta' => Values::array_get($payload, 'form_meta'), 'url' => Values::array_get($payload, 'url'), ]; $this->solution = ['formType' => $formType ?: $this->properties['formType'], ]; } /** * Generate an instance context for the instance, the context is capable of * performing various actions. All instance actions are proxied to the context * * @return FormContext Context for this FormInstance */ protected function proxy(): FormContext { if (!$this->context) { $this->context = new FormContext($this->version, $this->solution['formType']); } return $this->context; } /** * Fetch the FormInstance * * @return FormInstance Fetched FormInstance * @throws TwilioException When an HTTP error occurs. */ public function fetch(): FormInstance { return $this->proxy()->fetch(); } /** * Magic getter to access properties * * @param string $name Property to access * @return mixed The requested property * @throws TwilioException For unknown properties */ public function __get(string $name) { if (\array_key_exists($name, $this->properties)) { return $this->properties[$name]; } if (\property_exists($this, '_' . $name)) { $method = 'get' . \ucfirst($name); return $this->$method(); } throw new TwilioException('Unknown property: ' . $name); } /** * 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.Verify.V2.FormInstance ' . \implode(' ', $context) . ']'; } }
Save
cmd:
run