modern-events-calendar-lite/app/api/Twilio/TwiML/Voice/Pause.php

32 lines
No EOL
663 B
PHP
Executable file

<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\TwiML\Voice;
use Twilio\TwiML\TwiML;
class Pause extends TwiML {
/**
* Pause constructor.
*
* @param array $attributes Optional attributes
*/
public function __construct($attributes = []) {
parent::__construct('Pause', null, $attributes);
}
/**
* Add Length attribute.
*
* @param int $length Length in seconds to pause
*/
public function setLength($length): self {
return $this->setAttribute('length', $length);
}
}