Файл: sngine-v2.8/Script/includes/libs/Twilio/TwiML/Voice/SsmlW.php
Строк: 23
<?php
/**
* This code was generated by
* / _ _ _| _ _
* | (_)/(_)(_|/| |(/_ v1.0.0
* / /
*/
namespace TwilioTwiMLVoice;
use TwilioTwiMLTwiML;
class SsmlW extends TwiML {
/**
* SsmlW constructor.
*
* @param string $words Words to speak
* @param array $attributes Optional attributes
*/
public function __construct($words, $attributes = []) {
parent::__construct('w', $words, $attributes);
}
/**
* Add Role attribute.
*
* @param string $role Customize the pronunciation of words by specifying the
* word’s part of speech or alternate meaning
*/
public function setRole($role): self {
return $this->setAttribute('role', $role);
}
}