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

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

namespace TwilioTwiMLVoice;

use 
TwilioTwiMLTwiML;

class 
SsmlLang extends TwiML {
    
/**
     * SsmlLang constructor.
     *
     * @param string $words Words to speak
     * @param array $attributes Optional attributes
     */
    
public function __construct($words$attributes = []) {
        
parent::__construct('lang'$words$attributes);
    }

    
/**
     * Add Xml:Lang attribute.
     *
     * @param string $xmlLang Specify the language
     */
    
public function setXmlLang($xmlLang): self {
        return 
$this->setAttribute('xml:Lang'$xmlLang);
    }
}
Онлайн: 1
Реклама