Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/Twilio/TwiML/Voice/Pause.php
Строк: 25
<?php

/**
 * This code was generated by
 *  / _    _  _|   _  _
 * | (_)/(_)(_|/| |(/_  v1.0.0
 * /       /
 */

namespace TwilioTwiMLVoice;

use 
TwilioTwiMLTwiML;

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);
    }
}
Онлайн: 1
Реклама