/home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Api/V2010/Account
Edit: /home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Api/V2010/Account/TokenOptions.php (1474B)
options['ttl'] = $ttl;
}
/**
* The duration in seconds for which the generated credentials are valid
*
* @param integer $ttl The duration in seconds the credentials are valid
* @return $this Fluent Builder
*/
public function setTtl($ttl) {
$this->options['ttl'] = $ttl;
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.Api.V2010.CreateTokenOptions ' . implode(' ', $options) . ']';
}
}