options['to'] = $to; } /** * The To phonenumber of the phone being verified * * @param string $to To phonenumber * @return $this Fluent Builder */ public function setTo($to) { $this->options['to'] = $to; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Preview.AccSecurity.CreateVerificationCheckOptions ' . implode(' ', $options) . ']'; } }