35 lines
800 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\TwiML\Voice;
use Twilio\TwiML\TwiML;
class SsmlW extends TwiML {
/**
* SsmlW constructor.
*
* @param string $words Words to speak
* @param array $attributes Optional attributes
*/
public function __construct($words, $attributes = array()) {
parent::__construct('w', $words, $attributes);
}
/**
* Add Role attribute.
*
* @param string $role Customize the pronunciation of words by specifying the
* words part of speech or alternate meaning
* @return static $this.
*/
public function setRole($role) {
return $this->setAttribute('role', $role);
}
}