modern-events-calendar-lite/app/api/Twilio/TwiML/Voice/SsmlPhoneme.php

42 lines
No EOL
972 B
PHP
Executable file

<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\TwiML\Voice;
use Twilio\TwiML\TwiML;
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);
}
}