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

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

namespace TwilioTwiMLVoice;

use 
TwilioTwiMLTwiML;

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

    
/**
     * Add Alphabet attribute.
     *
     * @param string $alphabet Specify the phonetic alphabet
     */
    
public function setAlphabet($alphabet): self {
        return 
$this->setAttribute('alphabet'$alphabet);
    }

    
/**
     * Add Ph attribute.
     *
     * @param string $ph Specifiy the phonetic symbols for pronunciation
     */
    
public function setPh($ph): self {
        return 
$this->setAttribute('ph'$ph);
    }
}
Онлайн: 0
Реклама