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

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

namespace TwilioTwiMLVoice;

use 
TwilioTwiMLTwiML;

class 
SsmlBreak extends TwiML {
    
/**
     * SsmlBreak constructor.
     *
     * @param array $attributes Optional attributes
     */
    
public function __construct($attributes = []) {
        
parent::__construct('break'null$attributes);
    }

    
/**
     * Add Strength attribute.
     *
     * @param string $strength Set a pause based on strength
     */
    
public function setStrength($strength): self {
        return 
$this->setAttribute('strength'$strength);
    }

    
/**
     * Add Time attribute.
     *
     * @param string $time Set a pause to a specific length of time in seconds or
     *                     milliseconds, available values: [number]s, [number]ms
     */
    
public function setTime($time): self {
        return 
$this->setAttribute('time'$time);
    }
}
Онлайн: 0
Реклама