File Manager
Viewing File: Pause.php
<?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 = array()) {
parent::__construct('Pause', $attributes);
}
/**
* Add Length attribute.
*
* @param integer $length Length in seconds to pause
* @return TwiML $this.
*/
public function setLength($length) {
return $this->setAttribute('length', $length);
}
}